Sha256: d13eba5eb2d9aa489ad1bb4a8fd5a5f8baabb71a8c6ee89f212eb6911bb68685
Contents?: true
Size: 791 Bytes
Versions: 8
Compression:
Stored size: 791 Bytes
Contents
module C80FeedbackForm class Engine < ::Rails::Engine isolate_namespace C80FeedbackForm initializer :import_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_feedback_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
8 entries across 8 versions & 1 rubygems