Sha256: f136e0aed32b961377ee6937af501de5145a8d0e19b55972e22b65482c0e4c66
Contents?: true
Size: 580 Bytes
Versions: 23
Compression:
Stored size: 580 Bytes
Contents
module EffectivePosts class Engine < ::Rails::Engine engine_name 'effective_posts' # Include Helpers to base application initializer 'effective_posts.action_controller' do |app| ActiveSupport.on_load :action_controller do helper EffectivePostsHelper 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
23 entries across 23 versions & 1 rubygems