mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
use ActionDispatch::MiddlewareStack instead of ActionController::MiddlewareStack
This commit is contained in:
parent
56ad6ca3ff
commit
7cabb57f6b
1 changed files with 3 additions and 3 deletions
|
@ -92,11 +92,11 @@ To find out more about different +rackup+ options:
|
|||
$ rackup --help
|
||||
</shell>
|
||||
|
||||
h3. Action Controller Middleware Stack
|
||||
h3. Action Dispatcher Middleware Stack
|
||||
|
||||
Many of Action Controller's internal components are implemented as Rack middlewares. +ActionController::Dispatcher+ uses +ActionController::MiddlewareStack+ to combine various internal and external middlewares to form a complete Rails Rack application.
|
||||
Many of Action Dispatchers's internal components are implemented as Rack middlewares. +Rails::Application+ uses +ActionDispatch::MiddlewareStack+ to combine various internal and external middlewares to form a complete Rails Rack application.
|
||||
|
||||
NOTE: +ActionController::MiddlewareStack+ is Rails' equivalent of +Rack::Builder+, but built for better flexibility and more features to meet Rails' requirements.
|
||||
NOTE: +ActionDispatch::MiddlewareStack+ is Rails' equivalent of +Rack::Builder+, but built for better flexibility and more features to meet Rails' requirements.
|
||||
|
||||
h4. Inspecting Middleware Stack
|
||||
|
||||
|
|
Loading…
Reference in a new issue