From 8be3a1a9a4f3c9ba66a320bfa3fa9cbc53ca7fd5 Mon Sep 17 00:00:00 2001 From: Agis Anastasopoulos Date: Fri, 16 Nov 2012 14:48:17 +0200 Subject: Update the middleware stack to reflect the current Rails output Specifically, remove `ActionDispatch::Head` in favor of `Rack::Head`. --- guides/source/rails_on_rack.md | 4 ++-- 1 file 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. -- cgit v1.2.3