Sha256: bcd61b04b47274d4ac0ec8c4458ceb5127a5a956d04334d64dc7c9427962f663
Contents?: true
Size: 596 Bytes
Versions: 17
Compression:
Stored size: 596 Bytes
Contents
module Ecm module Cms class Engine < ::Rails::Engine # active admin initializer :ecm_cms_engine do ::ActiveAdmin.setup do |config| config.load_paths += Dir[File.dirname(__FILE__) + '/active_admin'] config.register_stylesheet 'ecm_cms.css' end end if defined?(::ActiveAdmin) # assets if Rails.version >= '3.1' 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 end
Version data entries
17 entries across 17 versions & 1 rubygems