Browse Source

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
tags/5.1.0
Go MAEDA 1 year ago
parent
commit
6a039db086
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      config/application.rb

+ 2
- 1
config/application.rb View File

@@ -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"

Loading…
Cancel
Save