Module: ActionController::Rescue::ClassMethods

Defined in:
lib/action_controller/rescue.rb

Instance Method Summary collapse

Instance Method Details

#call_with_exception(env, exception) ⇒ Object

:nodoc:



62
63
64
65
66
# File 'lib/action_controller/rescue.rb', line 62

def call_with_exception(env, exception) #:nodoc:
  request = env["action_controller.rescue.request"] ||= Request.new(env)
  response = env["action_controller.rescue.response"] ||= Response.new
  new.process(request, response, :rescue_action, exception)
end