aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2011-10-19 12:31:06 -0500
committerJeremy Kemper <jeremy@bitsweat.net>2011-10-19 12:31:06 -0500
commit3a746f7c48936bac1c08dcf229c7c8fc74fdfc13 (patch)
tree7421b6311dae783dff9bf428d08c3865d7e019da /railties/lib
parent89a164ab9b028d855023c88e4afcdf55276a1363 (diff)
downloadrails-3a746f7c48936bac1c08dcf229c7c8fc74fdfc13.tar.gz
rails-3a746f7c48936bac1c08dcf229c7c8fc74fdfc13.tar.bz2
rails-3a746f7c48936bac1c08dcf229c7c8fc74fdfc13.zip
Use toplevel Rack::ContentLength
Diffstat (limited to 'railties/lib')
-rw-r--r--railties/lib/rails/commands/server.rb2
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