Sha256: 43c5c0e149eaf8ef0571bf883c16c7989c72c6af61f985fbe015910d1f30ffcd
Contents?: true
Size: 589 Bytes
Versions: 6
Compression:
Stored size: 589 Bytes
Contents
# frozen_string_literal: true module Decidim module Cdtb # This module's engine class Engine < ::Rails::Engine isolate_namespace Decidim::Cdtb initializer "psych.tmp.fix" do |_app| # Workaround for https://stackoverflow.com/questions/72970170/upgrading-to-rails-6-1-6-1-causes-psychdisallowedclass-tried-to-load-unspecif Rails.application.config.active_record.use_yaml_unsafe_load = true end config.after_initialize do Decidim::Cdtb.config.spam_regexp = Regexp.union(Decidim::Cdtb.config.spam_words) end end end end
Version data entries
6 entries across 6 versions & 1 rubygems