Use toplevel Rack::ContentLength

This commit is contained in:
Jeremy Kemper 2011-10-19 12:31:06 -05:00
parent 89a164ab9b
commit 3a746f7c48
1 changed files with 1 additions and 1 deletions

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