Sha256: fd235841a08020254a26e5b934174a528fc803d985becf1634635961b3c16414

Contents?: true

Size: 655 Bytes

Versions: 12

Compression:

Stored size: 655 Bytes

Contents

module Ecm
  module Downloads
    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__) + '/active_admin']
        end
      end if defined?(::ActiveAdmin)
      
      # helpers
      config.to_prepare do
        ApplicationController.helper(Ecm::Downloads::DownloadCategoryHelper)
        ApplicationController.helper(Ecm::Downloads::DownloadHelper)
      end 
      
      # locales
      paths["config/locales"] << File.dirname(__FILE__) + '/../../../config/locales'
    end
  end
end    

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
ecm_downloads2-1.2.2 lib/ecm/downloads/engine.rb
ecm_downloads2-1.2.1 lib/ecm/downloads/engine.rb
ecm_downloads2-1.2.0 lib/ecm/downloads/engine.rb
ecm_downloads2-1.1.1 lib/ecm/downloads/engine.rb
ecm_downloads2-1.1.0 lib/ecm/downloads/engine.rb
ecm_downloads2-1.0.0 lib/ecm/downloads/engine.rb
ecm_downloads-0.0.11.pre lib/ecm/downloads/engine.rb
ecm_downloads-0.0.10.pre lib/ecm/downloads/engine.rb
ecm_downloads-0.0.8.pre lib/ecm/downloads/engine.rb
ecm_downloads-0.0.7.pre lib/ecm/downloads/engine.rb
ecm_downloads-0.0.6.pre lib/ecm/downloads/engine.rb
ecm_downloads-0.0.5.pre lib/ecm/downloads/engine.rb