Sha256: a74919c35f0fbad75511370e849d712a1c9d3e22d93b79451d1d94291ac5124b
Contents?: true
Size: 523 Bytes
Versions: 8
Compression:
Stored size: 523 Bytes
Contents
require 'unidom/common/yaml_helper' module Unidom module Action class Engine < ::Rails::Engine isolate_namespace ::Unidom::Action initializer :load_config_initializers do |app| Unidom::Common::YamlHelper.load_enum config: app.config, root: config.root end initializer :append_migrations do |app| config.paths['db/migrate'].expanded.each { |expanded_path| app.config.paths['db/migrate'] << expanded_path } unless app.root.to_s.match root.to_s end end end end
Version data entries
8 entries across 8 versions & 1 rubygems