summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2020-01-12 06:14:33 +0000
committerGo MAEDA <maeda@farend.jp>2020-01-12 06:14:33 +0000
commit10ed8d27e47da893c5533cffea2e8fdffccf2de1 (patch)
tree33c4ab7f006adfeed4df4077986b596bc46a1a18 /config
parentf8842ccd818b152d700a95519dc8d5ee985d8da3 (diff)
downloadredmine-10ed8d27e47da893c5533cffea2e8fdffccf2de1.tar.gz
redmine-10ed8d27e47da893c5533cffea2e8fdffccf2de1.zip
Merged r19416 from trunk to 4.1-stable (#32785).
git-svn-id: http://svn.redmine.org/redmine/branches/4.1-stable@19417 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'config')
-rw-r--r--config/application.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/application.rb b/config/application.rb
index a06ee4dba..86b695d42 100644
--- a/config/application.rb
+++ b/config/application.rb
@@ -60,7 +60,7 @@ module RedmineApp
config.active_record.sqlite3.represent_boolean_as_integer = true
# Sets the Content-Length header on responses with fixed-length bodies
- config.middleware.insert_after Rack::Sendfile, Rack::ContentLength
+ config.middleware.insert_before Rack::Sendfile, Rack::ContentLength
# Verify validity of user sessions
config.redmine_verify_sessions = true