Sha256: 195c373b14c180a26ba3c926b370e7ddff4722af3c8b86aab3770ef28db5b395
Contents?: true
Size: 592 Bytes
Versions: 2
Compression:
Stored size: 592 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__) + '/../../../app/admin'] end end if defined?(::ActiveAdmin) # helpers config.to_prepare do ApplicationController.helper(Ecm::Downloads::DownloadCategoryHelper) end # locales paths["config/locales"] << File.dirname(__FILE__) + '/../../../config/locales' end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ecm_downloads-0.0.4 | lib/ecm/downloads/engine.rb |
ecm_downloads-0.0.3 | lib/ecm/downloads/engine.rb |