global

def rescue_action(exception)

def rescue_action(exception)
  if ActionController::Base.allow_rescue
    rescue_action_without_bypass(exception)
  else
    raise exception
  end
end