From 4350e7fe2b9f9205a710888dc2bc5129f10ccd9e Mon Sep 17 00:00:00 2001 From: Jeffrey Hardy Date: Fri, 3 Apr 2009 04:02:56 -0400 Subject: Fix typo in comment: hide_actions -> hide_action --- actionpack/lib/action_controller/base.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actionpack') 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 hide_actions. + # More methods can be hidden using hide_action. def hidden_actions read_inheritable_attribute(:hidden_actions) || write_inheritable_attribute(:hidden_actions, []) end -- cgit v1.2.3