diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2005-02-23 12:53:08 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2005-02-23 12:53:08 +0000 |
commit | 69f18a7a81009e296f505af8d4aaade8b30bd633 (patch) | |
tree | 7c0f085b203954fcb333f9732c07b8f9e89698ac | |
parent | cd689cf22bd0b599ee992c1202a9b3f1d73f2c66 (diff) | |
download | rails-69f18a7a81009e296f505af8d4aaade8b30bd633.tar.gz rails-69f18a7a81009e296f505af8d4aaade8b30bd633.tar.bz2 rails-69f18a7a81009e296f505af8d4aaade8b30bd633.zip |
Keep the singular style, like before_filter, etc
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@758 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
-rwxr-xr-x | actionpack/lib/action_controller/base.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/base.rb b/actionpack/lib/action_controller/base.rb index d68faaf2f2..efdc677b3a 100755 --- a/actionpack/lib/action_controller/base.rb +++ b/actionpack/lib/action_controller/base.rb @@ -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 |