Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix typo in comment: hide_actions -> hide_action

  • Loading branch information...
commit 4350e7fe2b9f9205a710888dc2bc5129f10ccd9e 1 parent 19a1586
Jeffrey Hardy packagethief authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  actionpack/lib/action_controller/base.rb
2  actionpack/lib/action_controller/base.rb
View
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.