Sha256: e76630198d5d81da61d450f6b6379651a6770cb85f4473540fb93198ff0ba91d
Contents?: true
Size: 598 Bytes
Versions: 19
Compression:
Stored size: 598 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}/lib/generators/templates/effective_posts.rb") end end end
Version data entries
19 entries across 19 versions & 1 rubygems