Sha256: d204476f9d85610e69aa9f9b02f31c2af8669d8d18249582bb112030b912abb9

Contents?: true

Size: 421 Bytes

Versions: 4

Compression:

Stored size: 421 Bytes

Contents

module Ecm
  module Downloads
    class Engine < Rails::Engine
      initializer :ecm_downloads_engine do
        ::ActiveAdmin.setup do |config|
          config.load_paths += Dir[root.join(*%(app admin))]
          config.register_stylesheet 'ecm_downloads.css'
          # config.register_javascript 'ecm_downloads.js'
        end
      end if Gem::Specification.find_all_by_name('activeadmin').any?
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ecm_downloads2-3.0.0 lib/ecm/downloads/engine.rb
ecm_downloads2-2.0.3 lib/ecm/downloads/engine.rb
ecm_downloads2-2.0.2 lib/ecm/downloads/engine.rb
ecm_downloads2-2.0.0 lib/ecm/downloads/engine.rb