Sha256: a0d562407ffdf2a520a561c13122861d01f9ec6dc58fd4fbab0c964f32d7efb2
Contents?: true
Size: 629 Bytes
Versions: 20
Compression:
Stored size: 629 Bytes
Contents
module EffectivePosts class Engine < ::Rails::Engine engine_name 'effective_posts' # Include Helpers to base application initializer 'effective_posts.action_controller' do |app| app.config.to_prepare do ActiveSupport.on_load :action_controller_base do helper EffectivePostsHelper end end end # Set up our default configuration options. initializer "effective_posts.defaults", before: :load_config_initializers do |app| # Set up our defaults, as per our initializer template eval File.read("#{config.root}/config/effective_posts.rb") end end end
Version data entries
20 entries across 20 versions & 1 rubygems