aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey Hardy <packagethief@gmail.com>2009-04-03 04:02:56 -0400
committerJeffrey Hardy <packagethief@gmail.com>2009-04-03 04:02:56 -0400
commit4350e7fe2b9f9205a710888dc2bc5129f10ccd9e (patch)
tree5b0ed6cfd96ef64ac8dbba90ee05678882763fde
parent19a158650b046d06e8f5704bb07d0096227be6fb (diff)
downloadrails-4350e7fe2b9f9205a710888dc2bc5129f10ccd9e.tar.gz
rails-4350e7fe2b9f9205a710888dc2bc5129f10ccd9e.tar.bz2
rails-4350e7fe2b9f9205a710888dc2bc5129f10ccd9e.zip
Fix typo in comment: hide_actions -> hide_action
-rw-r--r--actionpack/lib/action_controller/base.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/base.rb b/actionpack/lib/action_controller/base.rb
index c6dd99e959..b24f0bbc26 100644
--- a/actionpack/lib/action_controller/base.rb
+++ b/actionpack/lib/action_controller/base.rb
@@ -408,7 +408,7 @@ module ActionController #:nodoc:
# Return an array containing the names of public methods that have been marked hidden from the action processor.
# By default, all methods defined in ActionController::Base and included modules are hidden.
- # More methods can be hidden using <tt>hide_actions</tt>.
+ # More methods can be hidden using <tt>hide_action</tt>.
def hidden_actions
read_inheritable_attribute(:hidden_actions) || write_inheritable_attribute(:hidden_actions, [])
end