Sha256: 34a9a548e261083a649b23bbf4617018fc964d918ef58c8727323ec60e1b8e79
Contents?: true
Size: 757 Bytes
Versions: 18
Compression:
Stored size: 757 Bytes
Contents
module C80Map class Engine < ::Rails::Engine isolate_namespace C80Map initializer :c80_map 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_map/**/"] # 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
18 entries across 18 versions & 1 rubygems