mirror of
https://github.com/meineerde/redmine.git
synced 2026-02-01 03:57:15 +00:00
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
This commit is contained in:
parent
31a60c252e
commit
6c6ea394af
1
Gemfile
1
Gemfile
@ -9,6 +9,7 @@ gem "mime-types"
|
||||
gem "awesome_nested_set", "3.0.0"
|
||||
gem "protected_attributes"
|
||||
gem "actionpack-action_caching"
|
||||
gem "actionpack-xml_parser"
|
||||
|
||||
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
|
||||
gem 'tzinfo-data', platforms: [:mingw, :x64_mingw, :mswin, :jruby]
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user