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:
parent
89a164ab9b
commit
3a746f7c48
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ module Rails
|
||||||
middlewares = []
|
middlewares = []
|
||||||
middlewares << [Rails::Rack::LogTailer, log_path] unless options[:daemonize]
|
middlewares << [Rails::Rack::LogTailer, log_path] unless options[:daemonize]
|
||||||
middlewares << [Rails::Rack::Debugger] if options[:debugger]
|
middlewares << [Rails::Rack::Debugger] if options[:debugger]
|
||||||
middlewares << [Rack::ContentLength]
|
middlewares << [::Rack::ContentLength]
|
||||||
Hash.new(middlewares)
|
Hash.new(middlewares)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue