summaryrefslogtreecommitdiffstats
path: root/config/application.rb
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2022-09-28 06:36:07 +0000
committerGo MAEDA <maeda@farend.jp>2022-09-28 06:36:07 +0000
commit6a039db0860fbb1f715786e4ec306c434a4b6aab (patch)
tree91059e027d9bfe9f6bb6266191ec64812b793980 /config/application.rb
parent3179bee5a8fce53132e341bc70b015b126bd5e28 (diff)
downloadredmine-6a039db0860fbb1f715786e4ec306c434a4b6aab.tar.gz
redmine-6a039db0860fbb1f715786e4ec306c434a4b6aab.zip
Fix Psych::DisallowedClass exception when loading plugin settings saved with Rails 4.2 (#37452, #37719).
Patch by Alexander Meindl. git-svn-id: https://svn.redmine.org/redmine/trunk@21863 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'config/application.rb')
-rw-r--r--config/application.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/config/application.rb b/config/application.rb
index 0a2d2f1fc..1b22feb12 100644
--- a/config/application.rb
+++ b/config/application.rb
@@ -34,7 +34,8 @@ module RedmineApp
config.active_record.default_timezone = :local
config.active_record.yaml_column_permitted_classes = [
Symbol,
- ActiveSupport::HashWithIndifferentAccess
+ ActiveSupport::HashWithIndifferentAccess,
+ ActionController::Parameters
]
config.action_mailer.delivery_job = "ActionMailer::MailDeliveryJob"