make it clear in readme that alias_action is an instance method - closes #139
This commit is contained in:
parent
a5f838a964
commit
737f8acff5
|
@ -126,7 +126,7 @@ Notice the +edit+ action is aliased to +update+. If the user is able to update a
|
||||||
can :modify, Comment
|
can :modify, Comment
|
||||||
can? :update, Comment # => true
|
can? :update, Comment # => true
|
||||||
|
|
||||||
See {Custom Actions}[http://wiki.github.com/ryanb/cancan/custom-actions] for information on adding other actions.
|
The +alias_action+ method is an instance method and usually called in +initialize+. See {Custom Actions}[http://wiki.github.com/ryanb/cancan/custom-actions] for information on adding other actions.
|
||||||
|
|
||||||
|
|
||||||
== Fetching Records
|
== Fetching Records
|
||||||
|
|
Loading…
Reference in New Issue
Block a user