diff options
author | Joshua Peek <josh@joshpeek.com> | 2010-01-15 12:35:18 -0600 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2010-01-15 12:38:50 -0600 |
commit | 3eaf525213ccef5c63c9e296fa643ad416a3f84c (patch) | |
tree | f7ab86f8622fc7ce1247377134195bf9eac2b2b0 /railties/lib | |
parent | 43a84a054f51f260e1d4a9d4be75783e497a3398 (diff) | |
download | rails-3eaf525213ccef5c63c9e296fa643ad416a3f84c.tar.gz rails-3eaf525213ccef5c63c9e296fa643ad416a3f84c.tar.bz2 rails-3eaf525213ccef5c63c9e296fa643ad416a3f84c.zip |
Make HEAD method masquerade as GET so requests are routed correctly
Diffstat (limited to 'railties/lib')
-rw-r--r-- | railties/lib/rails/configuration.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/configuration.rb b/railties/lib/rails/configuration.rb index 9991288cc5..cf452ac611 100644 --- a/railties/lib/rails/configuration.rb +++ b/railties/lib/rails/configuration.rb @@ -18,7 +18,7 @@ module Rails middleware.use(lambda { ActionController::Base.session_store }, lambda { ActionController::Base.session_options }) middleware.use('ActionDispatch::ParamsParser') middleware.use('::Rack::MethodOverride') - middleware.use('::Rack::Head') + middleware.use('::ActionDispatch::Head') end end |