module ActionController::HideActions

def method_for_action(action_name)

action name is in the list of hidden actions.
Overrides AbstractController::Base#action_method? to return false if the
def method_for_action(action_name)
  self.class.visible_action?(action_name) && super
end