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:
David Heinemeier Hansson 2005-02-23 12:53:08 +00:00
parent cd689cf22b
commit 69f18a7a81
1 changed files with 1 additions and 1 deletions

View File

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