Class: Rack::Adapter::Rails::CgiApp
- Inherits:
-
Object
- Object
- Rack::Adapter::Rails::CgiApp
- Defined in:
- lib/rack/adapter/rails.rb
Overview
For Rails pre Rack (2.3)
Instance Method Summary collapse
Instance Method Details
#call(env) ⇒ Object
141 142 143 144 145 146 147 148 149 150 |
# File 'lib/rack/adapter/rails.rb', line 141 def call(env) request = Request.new(env) response = Response.new = ActionController::CgiRequest::DEFAULT_SESSION_OPTIONS cgi = CGIWrapper.new(request, response) Dispatcher.dispatch(cgi, , response) response.finish end |