summaryrefslogtreecommitdiffstats
path: root/config/application.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2017-07-23 11:26:04 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2017-07-23 11:26:04 +0000
commitd74f0bfd5c53962e332c2dd4d30dafaa1105b92b (patch)
treef3eaf66d67c3a87fb34340561bf188d364de623c /config/application.rb
parent41bb302594b48152b87c92f196c915f499093bbf (diff)
downloadredmine-d74f0bfd5c53962e332c2dd4d30dafaa1105b92b.tar.gz
redmine-d74f0bfd5c53962e332c2dd4d30dafaa1105b92b.zip
Merged rails-5.1 branch (#23630).
git-svn-id: http://svn.redmine.org/redmine/trunk@16859 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'config/application.rb')
-rw-r--r--config/application.rb7
1 files changed, 0 insertions, 7 deletions
diff --git a/config/application.rb b/config/application.rb
index e1a416ae7..cb848bee6 100644
--- a/config/application.rb
+++ b/config/application.rb
@@ -47,13 +47,6 @@ module RedmineApp
# Do not include all helpers
config.action_controller.include_all_helpers = false
- # Do not suppress errors in after_rollback and after_commit callbacks
- config.active_record.raise_in_transactional_callbacks = true
-
- # XML parameter parser removed from core in Rails 4.0
- # and extracted to actionpack-xml_parser gem
- config.middleware.insert_after ActionDispatch::ParamsParser, ActionDispatch::XmlParamsParser
-
# Sets the Content-Length header on responses with fixed-length bodies
config.middleware.insert_after Rack::Sendfile, Rack::ContentLength