1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-01-31 19:47:14 +00:00

Add Date and Time classes to yaml_column_permitted_classes (#37814).

Patch by Felix Schäfer.


git-svn-id: https://svn.redmine.org/redmine/trunk@21923 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Go MAEDA 2022-10-26 14:04:46 +00:00
parent 327f6e118b
commit 2d7d2c1bac

View File

@ -33,6 +33,8 @@ module RedmineApp
config.active_record.store_full_sti_class = true
config.active_record.default_timezone = :local
config.active_record.yaml_column_permitted_classes = [
Date,
Time,
Symbol,
ActiveSupport::HashWithIndifferentAccess,
ActionController::Parameters