diff options
author | Agis Anastasopoulos <corestudiosinc@gmail.com> | 2012-11-16 14:48:17 +0200 |
---|---|---|
committer | Agis Anastasopoulos <corestudiosinc@gmail.com> | 2012-11-16 14:48:17 +0200 |
commit | 8be3a1a9a4f3c9ba66a320bfa3fa9cbc53ca7fd5 (patch) | |
tree | 8b613905d50de7d728091f16237a1229083ef0e6 /guides/source | |
parent | 3ad89fced21d896a70a8bffb5e6e2146ff36135d (diff) | |
download | rails-8be3a1a9a4f3c9ba66a320bfa3fa9cbc53ca7fd5.tar.gz rails-8be3a1a9a4f3c9ba66a320bfa3fa9cbc53ca7fd5.tar.bz2 rails-8be3a1a9a4f3c9ba66a320bfa3fa9cbc53ca7fd5.zip |
Update the middleware stack to reflect the current Rails output
Specifically, remove `ActionDispatch::Head` in favor of `Rack::Head`.
Diffstat (limited to 'guides/source')
-rw-r--r-- | guides/source/rails_on_rack.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/guides/source/rails_on_rack.md b/guides/source/rails_on_rack.md index b55fd2c6ca..afd1638ed9 100644 --- a/guides/source/rails_on_rack.md +++ b/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. |