Module: ActionController::RackDelegation
Instance Method Summary
collapse
append_features, extended, included
Instance Method Details
#dispatch(action, request, response = ActionDispatch::Response.new) ⇒ Object
11
12
13
14
15
|
# File 'actionpack/lib/action_controller/metal/rack_delegation.rb', line 11
def dispatch(action, request, response = ActionDispatch::Response.new)
@_response ||= response
@_response.request ||= request
super(action, request)
end
|
#reset_session ⇒ Object
22
23
24
|
# File 'actionpack/lib/action_controller/metal/rack_delegation.rb', line 22
def reset_session
@_request.reset_session
end
|
#response_body=(body) ⇒ Object
17
18
19
20
|
# File 'actionpack/lib/action_controller/metal/rack_delegation.rb', line 17
def response_body=(body)
response.body = body if response
super
end
|