Sha256: 9c82b0eebf14159e671c50d1d319c0d4b40faa0bb43870b179696f005354b1f7
Contents?: true
Size: 614 Bytes
Versions: 5
Compression:
Stored size: 614 Bytes
Contents
module EffectivePages class Engine < ::Rails::Engine engine_name 'effective_pages' # Include Helpers to base application initializer 'effective_pages.action_controller' do |app| ActiveSupport.on_load :action_controller do helper EffectivePagesHelper helper EffectiveMenusHelper 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
5 entries across 5 versions & 1 rubygems