aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
Diffstat (limited to 'guides')
-rw-r--r--guides/source/rails_on_rack.md4
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.