aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/dispatch/middlewares.rb
blob: f99637b10943f4ae5ab64f5eb27e02c94c31d279 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use "Rack::Lock", :if => lambda {
  !ActionController::Base.allow_concurrency
}

use "ActionDispatch::Failsafe"
use "ActionDispatch::ShowExceptions", lambda { ActionController::Base.consider_all_requests_local }
use "ActionDispatch::Rescue", lambda {
  controller = (::ApplicationController rescue ActionController::Base)
  controller.method(:rescue_action)
}

use lambda { ActionController::Base.session_store },
    lambda { ActionController::Base.session_options }

use "ActionDispatch::ParamsParser"
use "Rack::MethodOverride"
use "Rack::Head"