Sha256: eb1850cc01fb15613dc96b7bb0cc7ea3e541bbc265aa45eb62a4ebbc7767ea04
Contents?: true
Size: 713 Bytes
Versions: 3
Compression:
Stored size: 713 Bytes
Contents
module EffectivePages class Engine < ::Rails::Engine engine_name 'effective_pages' # Include Helpers to base application initializer 'effective_pages.action_controller' do |app| app.config.to_prepare do ActiveSupport.on_load :action_controller_base do helper EffectivePagesHelper helper EffectivePageSectionsHelper helper EffectiveMenusHelper end end end # Set up our default configuration options. initializer "effective_pages.defaults", before: :load_config_initializers do |app| # Set up our defaults, as per our initializer template eval File.read("#{config.root}/config/effective_pages.rb") end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
effective_pages-3.3.2 | lib/effective_pages/engine.rb |
effective_pages-3.3.1 | lib/effective_pages/engine.rb |
effective_pages-3.3.0 | lib/effective_pages/engine.rb |