lib/unidom/contact/engine.rb in unidom-contact-1.3.3 vs lib/unidom/contact/engine.rb in unidom-contact-1.3.4
- old
+ new
@@ -1,14 +1,14 @@
module Unidom
module Contact
class Engine < ::Rails::Engine
+ include Unidom::Common::EngineExtension
+
isolate_namespace Unidom::Contact
- 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
+ enable_initializer enum_enabled: false, migration_enabled: true
end
end
end