lib/ecm/cms/engine.rb in ecm_cms2-3.0.3 vs lib/ecm/cms/engine.rb in ecm_cms2-4.0.0
- old
+ new
@@ -8,21 +8,8 @@
fixture_replacement: nil
c.integration_tool :rspec
c.performance_tool :rspec
end
-
- initializer :ecm_cms_engine do
- ::ActiveAdmin.setup do |config|
- config.load_paths += Dir[root.join('app', 'admin')]
- config.register_stylesheet 'ecm_cms.css'
- config.register_javascript 'ecm_cms.js'
- end
- end if Gem::Specification.find_all_by_name('activeadmin').any?
-
- initializer 'ecm_cms.asset_pipeline' do |app|
- app.config.assets.precompile << 'ecm_cms.js'
- app.config.assets.precompile << 'ecm_cms.css'
- end
end
end
end