Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Use toplevel Rack::ContentLength

  • Loading branch information...
commit 960882f9466575ed20b8875a2b1674390ab9b5d5 1 parent 97b3d10
@jeremy jeremy authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.