Merge pull request #535 from manuelmeurer/patch-2

Fixed a small typo
This commit is contained in:
Gimi Liang 2012-05-11 08:17:55 -07:00
commit 14e1f5cad4

View File

@ -94,7 +94,7 @@ module CanCan
# [:+find_by+]
# Find using a different attribute other than id. For example.
#
# load_resource :find_by => :permalink # will use find_by_permlink!(params[:id])
# load_resource :find_by => :permalink # will use find_by_permalink!(params[:id])
#
# [:+collection+]
# Specify which actions are resource collection actions in addition to :+index+. This