Sha256: 5b5b5c984cd312f5357ef21157a55d06c35e7f9ded78e04494ca4b69f67a07db
Contents?: true
Size: 525 Bytes
Versions: 2
Compression:
Stored size: 525 Bytes
Contents
require 'unidom/common/yaml_helper' module Unidom module Visitor class Engine < ::Rails::Engine isolate_namespace ::Unidom::Visitor 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
unidom-visitor-1.12.1 | lib/unidom/visitor/engine.rb |
unidom-visitor-1.12 | lib/unidom/visitor/engine.rb |