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

Use toplevel Rack::ContentLength

This commit is contained in:
Jeremy Kemper 2011-10-19 12:31:06 -05:00
parent 89a164ab9b
commit 3a746f7c48

View file

@ -78,7 +78,7 @@ module Rails
middlewares = []
middlewares << [Rails::Rack::LogTailer, log_path] unless options[:daemonize]
middlewares << [Rails::Rack::Debugger] if options[:debugger]
middlewares << [Rack::ContentLength]
middlewares << [::Rack::ContentLength]
Hash.new(middlewares)
end