Permalink
Browse files

Update the middleware stack to reflect the current Rails output

Specifically, remove `ActionDispatch::Head` in favor of `Rack::Head`.
  • Loading branch information...
1 parent 3ad89fc commit 8be3a1a9a4f3c9ba66a320bfa3fa9cbc53ca7fd5 @agis agis committed Nov 16, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 guides/source/rails_on_rack.md
@@ -132,11 +132,11 @@ use ActionDispatch::Cookies
use ActionDispatch::Session::CookieStore
use ActionDispatch::Flash
use ActionDispatch::ParamsParser
-use ActionDispatch::Head
+use Rack::Head
use Rack::ConditionalGet
use Rack::ETag
use ActionDispatch::BestStandardsSupport
-run ApplicationName::Application.routes
+run MyApp::Application.routes
```
Purpose of each of this middlewares is explained in the [Internal Middlewares](#internal-middleware-stack) section.

0 comments on commit 8be3a1a

Please sign in to comment.