denispeplin/link_to_action — pull request #1 by jarijokinen (2013-01-06 18:06:44+00:00)
Title: Make nested resources work with CanCan

CanCan does not work with nested resources because you are passing resources to CanCan as an array and not as a hash. This pull request should fix the issue.