Sha256: 3a9351c8928c9021c87c2886287374df0c9d4314f98ba40405cf3e089e941f0b
Contents?: true
Size: 946 Bytes
Versions: 3
Compression:
Stored size: 946 Bytes
Contents
require 'rubygems' require 'simple-navigation' require 'awesome_nested_set' # Ecm::Admin should do this! require 'activeadmin' require 'sass-rails' require 'meta_search' module Ecm module CmsNavigation class Engine < Rails::Engine paths["config/locales"] << File.dirname(__FILE__) + '/../../../config/locales' # Enabling assets precompiling under rails 3.1 or greater if Rails.version >= '3.1' initializer "ecm_cms_navigation.asset_pipeline" do |app| app.config.assets.precompile << 'active_admin/ecm-cms-navigation.css' end end config.to_prepare do ApplicationController.helper(Ecm::CmsNavigationHelper) end initializer :ecm_pictures_engine do ActiveAdmin.setup do |active_admin_config| active_admin_config.load_paths += Dir[File.dirname(__FILE__) + '/../../../app/admin'] end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ecm_cms_navigation-0.0.6 | lib/ecm/cms_navigation/engine.rb |
ecm_cms_navigation-0.0.5 | lib/ecm/cms_navigation/engine.rb |
ecm_cms_navigation-0.0.4 | lib/ecm/cms_navigation/engine.rb |