Sha256: b7fce225650a7b7b0eafa9ec97dde05d486073b3452ba37d9cad89c5bcf26dfc
Contents?: true
Size: 790 Bytes
Versions: 10
Compression:
Stored size: 790 Bytes
Contents
module C80OrderForm class Engine < ::Rails::Engine isolate_namespace C80OrderForm initializer :c80_order_form_engine do if defined?(ActiveAdmin) ActiveAdmin.application.load_paths += Dir["#{config.root}/app/models/**/"] #ActiveAdmin.application.load_paths += Dir["#{config.root}/app/models/concerns/**/"] ActiveAdmin.application.load_paths += Dir["#{config.root}/app/admin/c80_order_form/**/"] # ActiveAdmin.application.load_paths += Dir["#{config.root}/app/jobs/**/"] end end initializer :append_migrations do |app| unless app.root.to_s.match root.to_s config.paths["db/migrate"].expanded.each do |expanded_path| app.config.paths["db/migrate"] << expanded_path end end end end end
Version data entries
10 entries across 10 versions & 1 rubygems