Sha256: bb7de53c112b8c74a2c676ee64886ff33f2013980fc32bf91258565a2e6c9d7d

Contents?: true

Size: 423 Bytes

Versions: 4

Compression:

Stored size: 423 Bytes

Contents

module Ecm
  module Courses
    class Engine < Rails::Engine
      # active admin
      initializer :ecm_courses_engine do
        ActiveAdmin.setup do |active_admin_config|
          active_admin_config.load_paths += Dir[File.dirname(__FILE__) + '/../../../app/admin']
        end
      end 
      
      # locales
      paths["config/locales"] << File.dirname(__FILE__) + '/../../../config/locales'
    end
  end
end    

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ecm_courses-0.0.4.pre lib/ecm/courses/engine.rb
ecm_courses-0.0.3.pre lib/ecm/courses/engine.rb
ecm_courses-0.0.2.pre lib/ecm/courses/engine.rb
ecm_courses-0.0.1.pre lib/ecm/courses/engine.rb