make it clear in readme that alias_action is an instance method - closes #139

This commit is contained in:
Ryan Bates 2010-09-03 09:30:47 -07:00
parent a5f838a964
commit 737f8acff5

View File

@ -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