Skip to content
Browse files

Use toplevel Rack::ContentLength

  • Loading branch information...
1 parent 97b3d10 commit 960882f9466575ed20b8875a2b1674390ab9b5d5 @jeremy jeremy committed Oct 19, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/lib/rails/commands/server.rb
View
2 railties/lib/rails/commands/server.rb
@@ -78,7 +78,7 @@ def middleware
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

0 comments on commit 960882f

Please sign in to comment.
Something went wrong with that request. Please try again.