Merge branch 'inherited_resources_collection_fix' of https://github.com/tanordheim/cancan into tanordheim-inherited_resources_collection_fix

This commit is contained in:
Ryan Bates
2011-03-08 15:24:14 -08:00
2 changed files with 3 additions and 3 deletions

View File

@@ -12,7 +12,7 @@ module CanCan
end
def resource_base
@controller.send :end_of_association_chain
@controller.send :collection
end
end
end