diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2011-10-19 12:31:06 -0500 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2011-10-19 12:31:06 -0500 |
commit | 3a746f7c48936bac1c08dcf229c7c8fc74fdfc13 (patch) | |
tree | 7421b6311dae783dff9bf428d08c3865d7e019da /railties/lib/rails/commands | |
parent | 89a164ab9b028d855023c88e4afcdf55276a1363 (diff) | |
download | rails-3a746f7c48936bac1c08dcf229c7c8fc74fdfc13.tar.gz rails-3a746f7c48936bac1c08dcf229c7c8fc74fdfc13.tar.bz2 rails-3a746f7c48936bac1c08dcf229c7c8fc74fdfc13.zip |
Use toplevel Rack::ContentLength
Diffstat (limited to 'railties/lib/rails/commands')
-rw-r--r-- | railties/lib/rails/commands/server.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/commands/server.rb b/railties/lib/rails/commands/server.rb index 33f9ac017c..20484a10c8 100644 --- a/railties/lib/rails/commands/server.rb +++ b/railties/lib/rails/commands/server.rb @@ -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 |