module ActionController::Rescue

def rescue_action_in_public?

def rescue_action_in_public?
  request.respond_to?(:rescue_action_in_public?) and request.rescue_action_in_public?
end