diff options
author | George Claghorn <george@basecamp.com> | 2018-01-30 18:13:13 -0500 |
---|---|---|
committer | George Claghorn <george@basecamp.com> | 2018-01-30 18:13:13 -0500 |
commit | cdffab4bc7f9f6d0a46cbd31beed6b4b6dc4855a (patch) | |
tree | f8237bc7c841c910f9deb0bb900622bd13c15a99 /railties/lib | |
parent | 889eb91d5f439eab647fbbef47886c61dc98e4e8 (diff) | |
download | rails-cdffab4bc7f9f6d0a46cbd31beed6b4b6dc4855a.tar.gz rails-cdffab4bc7f9f6d0a46cbd31beed6b4b6dc4855a.tar.bz2 rails-cdffab4bc7f9f6d0a46cbd31beed6b4b6dc4855a.zip |
Add Rack::TempfileReaper to the default middleware stack
Diffstat (limited to 'railties/lib')
-rw-r--r-- | railties/lib/rails/application/default_middleware_stack.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/railties/lib/rails/application/default_middleware_stack.rb b/railties/lib/rails/application/default_middleware_stack.rb index 0e79ba7da0..73c7defe7f 100644 --- a/railties/lib/rails/application/default_middleware_stack.rb +++ b/railties/lib/rails/application/default_middleware_stack.rb @@ -70,6 +70,7 @@ module Rails middleware.use ::Rack::Head middleware.use ::Rack::ConditionalGet middleware.use ::Rack::ETag, "no-cache" + middleware.use ::Rack::TempfileReaper end end |