1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Update the middleware stack to reflect the current Rails output

Specifically, remove `ActionDispatch::Head` in favor of `Rack::Head`.
This commit is contained in:
Agis Anastasopoulos 2012-11-16 14:48:17 +02:00
parent 3ad89fced2
commit 8be3a1a9a4

View file

@ -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.