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

Version Path
effective_posts-0.6.4 lib/effective_posts/engine.rb
effective_posts-0.6.3 lib/effective_posts/engine.rb
effective_posts-0.6.2 lib/effective_posts/engine.rb
effective_posts-0.6.1 lib/effective_posts/engine.rb
effective_posts-0.6.0 lib/effective_posts/engine.rb
effective_posts-1.1.0 lib/effective_posts/engine.rb
effective_posts-1.0.6 lib/effective_posts/engine.rb
effective_posts-1.0.5 lib/effective_posts/engine.rb
effective_posts-1.0.4 lib/effective_posts/engine.rb
effective_posts-1.0.3 lib/effective_posts/engine.rb
effective_posts-1.0.2 lib/effective_posts/engine.rb
effective_posts-1.0.1 lib/effective_posts/engine.rb
effective_posts-0.5.10 lib/effective_posts/engine.rb
effective_posts-1.0.0 lib/effective_posts/engine.rb
effective_posts-0.5.8 lib/effective_posts/engine.rb
effective_posts-0.5.7 lib/effective_posts/engine.rb
effective_posts-0.5.6 lib/effective_posts/engine.rb
effective_posts-0.5.5 lib/effective_posts/engine.rb
effective_posts-0.5.4 lib/effective_posts/engine.rb
effective_posts-0.5.3 lib/effective_posts/engine.rb