Module: ActionController::RackDelegation

Extended by:
ActiveSupport::Concern
Included in:
Caching, ConditionalGet, Cookies, Instrumentation, Redirecting, Testing
Defined in:
lib/action_controller/metal/rack_delegation.rb

Instance Method Summary collapse

Instance Method Details

#dispatch(action, request) ⇒ Object



11
12
13
14
# File 'lib/action_controller/metal/rack_delegation.rb', line 11

def dispatch(action, request)
  set_response!(request)
  super(action, request)
end

#reset_sessionObject



21
22
23
# File 'lib/action_controller/metal/rack_delegation.rb', line 21

def reset_session
  @_request.reset_session
end

#response_body=(body) ⇒ Object



16
17
18
19
# File 'lib/action_controller/metal/rack_delegation.rb', line 16

def response_body=(body)
  response.body = body if response
  super
end