Permalink
Browse files

Fix typo in comment: hide_actions -> hide_action

  • Loading branch information...
packagethief committed Apr 3, 2009
1 parent 19a1586 commit 4350e7fe2b9f9205a710888dc2bc5129f10ccd9e
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/lib/action_controller/base.rb
@@ -408,7 +408,7 @@ def controller_path
# 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

0 comments on commit 4350e7f

Please sign in to comment.