diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2014-12-22 13:41:15 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2014-12-22 13:41:15 +0000 |
commit | 6c6ea394af66e2dcf41ce5c16526d93da1c29507 (patch) | |
tree | ad87c9f97ec968922f1379bd9bbfa29bff21450b /config/application.rb | |
parent | 31a60c252e41143a0854a9dbfaf416e4a34cc1e0 (diff) | |
download | redmine-6c6ea394af66e2dcf41ce5c16526d93da1c29507.tar.gz redmine-6c6ea394af66e2dcf41ce5c16526d93da1c29507.zip |
XML parameters parser extracted to actionpack-xml_parser gem in Rails 4 (#14534).
git-svn-id: http://svn.redmine.org/redmine/trunk@13790 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'config/application.rb')
-rw-r--r-- | config/application.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/config/application.rb b/config/application.rb index a2918a65c..906b06785 100644 --- a/config/application.rb +++ b/config/application.rb @@ -47,6 +47,10 @@ module RedmineApp # Do not include all helpers config.action_controller.include_all_helpers = false + # 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 + # Specific cache for search results, the default file store cache is not # a good option as it could grow fast. A memory store (32MB max) is used # as the default. If you're running multiple server processes, it's |