Sha256: 3e1d382f34436f439392ddd5329ef956282d67500f0ee127c4953e63d1294be7
Contents?: true
Size: 810 Bytes
Versions: 2
Compression:
Stored size: 810 Bytes
Contents
module C80SocialNetworks class Engine < ::Rails::Engine isolate_namespace C80SocialNetworks initializer :c80_social_networks_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_social_networks/**/"] # 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
c80_social_networks-0.1.0.2 | lib/c80_social_networks/engine.rb |
c80_social_networks-0.1.0.1 | lib/c80_social_networks/engine.rb |