summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/initializers/30-redmine.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/initializers/30-redmine.rb b/config/initializers/30-redmine.rb
index fc36977f6..62969e4a6 100644
--- a/config/initializers/30-redmine.rb
+++ b/config/initializers/30-redmine.rb
@@ -8,6 +8,9 @@ Rails.application.config.to_prepare do
# Forces I18n to load available locales from the backend
I18n.config.available_locales = nil
+ # Use Nokogiri as XML backend instead of Rexml
+ ActiveSupport::XmlMini.backend = 'Nokogiri'
+
Redmine::Preparation.prepare
end