Sha256: 1fcb259bf6a7cc63a61576ffe00ddc18320fe2de6f1ff14dff4a3b545ea15971
Contents?: true
Size: 788 Bytes
Versions: 8
Compression:
Stored size: 788 Bytes
Contents
module C80Catoffers class Engine < ::Rails::Engine isolate_namespace C80Catoffers initializer :c80_catoffers_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_catoffers/**/"] # 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
8 entries across 8 versions & 1 rubygems