edge badge
Methods
C
N
Class Public methods
new(controller, app)
# File actionpack/lib/action_controller/middleware.rb, line 4
def initialize(controller, app)
  @controller, @app = controller, app
end
Instance Public methods
call(env)
# File actionpack/lib/action_controller/middleware.rb, line 8
def call(env)
  request = ActionDispatch::Request.new(env)
  @controller.build(@app).dispatch(:index, request)
end