Browse files

use ActionDispatch::MiddlewareStack instead of ActionController::Midd…

…lewareStack
  • Loading branch information...
1 parent 56ad6ca commit 7cabb57f6b9ceaef48a7500e2333cddb69c90de0 @rafmagana committed May 22, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 guides/source/rails_on_rack.textile
View
6 guides/source/rails_on_rack.textile
@@ -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

0 comments on commit 7cabb57

Please sign in to comment.