instance method
call
Ruby on Rails 4.1.16
Since v3.0.20 Last seen in v4.2.9Signature
call(env)
No documentation comment.
Parameters
-
envreq
Source
# File actionpack/lib/action_controller/middleware.rb, line 8
def call(env)
request = ActionDispatch::Request.new(env)
@controller.build(@app).dispatch(:index, request)
end
Defined in actionpack/lib/action_controller/middleware.rb line 8
· View on GitHub
· Improve this page
· Find usages on GitHub