Sha256: c03668320e7e15c0237fad3b13af23c95c0aedfa0013e353239ff45a8945cc5d

Contents?: true

Size: 343 Bytes

Versions: 2

Compression:

Stored size: 343 Bytes

Contents

module Ecm
  module Lightbox
    class Engine < ::Rails::Engine
      # active admin
      initializer :ecm_lightbox_engine do
        ::ActiveAdmin.setup do |active_admin_config|
          active_admin_config.load_paths += Dir[File.dirname(__FILE__) + '/active_admin']
        end
      end if defined?(::ActiveAdmin)    
    end
  end  
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ecm_lightbox-0.0.2.pre lib/ecm/lightbox/engine.rb
ecm_lightbox-0.0.1.pre lib/ecm/lightbox/engine.rb