Sha256: 8b48f8bf087929ccb12408df2fb33652f5239b4e0fa2cdf70a489039820eb755

Contents?: true

Size: 298 Bytes

Versions: 10

Compression:

Stored size: 298 Bytes

Contents

module Ecm
  module News
    class Engine < ::Rails::Engine
      initializer :ecm_news_engine do
        ActiveAdmin.setup do |config|
          config.load_paths << File.join(root, 'app', 'admin')
        end
      end if Gem::Specification.find_all_by_name('activeadmin').any?
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
ecm_news2-3.0.0 lib/ecm/news/engine.rb
ecm_news2-2.0.11 lib/ecm/news/engine.rb
ecm_news2-2.0.10 lib/ecm/news/engine.rb
ecm_news2-2.0.9 lib/ecm/news/engine.rb
ecm_news2-2.0.8 lib/ecm/news/engine.rb
ecm_news2-2.0.5 lib/ecm/news/engine.rb
ecm_news2-2.0.4 lib/ecm/news/engine.rb
ecm_news2-2.0.3 lib/ecm/news/engine.rb
ecm_news2-2.0.2 lib/ecm/news/engine.rb
ecm_news2-2.0.1 lib/ecm/news/engine.rb