lib/unidom/authorization/engine.rb in unidom-authorization-1.4.3 vs lib/unidom/authorization/engine.rb in unidom-authorization-1.4.4
- old
+ new
@@ -1,15 +1,15 @@
module Unidom
module Authorization
class Engine < ::Rails::Engine
+ include Unidom::Common::EngineExtension
+
isolate_namespace ::Unidom::Authorization
- 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
\ No newline at end of file
+end