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