commit
14e1f5cad4
|
@ -94,7 +94,7 @@ module CanCan
|
||||||
# [:+find_by+]
|
# [:+find_by+]
|
||||||
# Find using a different attribute other than id. For example.
|
# 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+]
|
# [:+collection+]
|
||||||
# Specify which actions are resource collection actions in addition to :+index+. This
|
# Specify which actions are resource collection actions in addition to :+index+. This
|
||||||
|
|
Loading…
Reference in New Issue
Block a user