Permalink
Browse files

Keep the singular style, like before_filter, etc

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@758 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent cd689cf commit 69f18a7a81009e296f505af8d4aaade8b30bd633 @dhh dhh committed Feb 23, 2005
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/lib/action_controller/base.rb
View
2 actionpack/lib/action_controller/base.rb
@@ -295,7 +295,7 @@ def hidden_actions
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

0 comments on commit 69f18a7

Please sign in to comment.