Sha256: dce8371c43a8a947dcb7c128e8a906f832583c917dcb897263130e5c975e0361

Contents?: true

Size: 479 Bytes

Versions: 1

Compression:

Stored size: 479 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module Cdtb
    # Census have no public app (see AdminEngine)
    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
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
decidim-cdtb-0.1.2 lib/decidim/cdtb/engine.rb