Adds the ability to prevent public methods on a controller to be called as actions.
Overrides AbstractController::Base#action_method? to return false if the action name is in the list of hidden actions.
# File lib/action_controller/metal/hide_actions.rb, line 17 def method_for_action(action_name) self.class.visible_action?(action_name) && super end