mirror of https://github.com/rails/rails
Keep the singular style, like before_filter, etc
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@758 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
parent
cd689cf22b
commit
69f18a7a81
|
@ -295,7 +295,7 @@ module ActionController #:nodoc:
|
|||
end
|
||||
|
||||
# Hide each of the given methods from being callable as actions.
|
||||
def hide_actions(*names)
|
||||
def hide_action(*names)
|
||||
write_inheritable_attribute(:hidden_actions, hidden_actions | names.collect {|n| n.to_s})
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue