Sha256: dfdba296d7c21a393cca20026decbb181557a3b48df49c30d7759243ce5ae1bd

Contents?: true

Size: 634 Bytes

Versions: 24

Compression:

Stored size: 634 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}/lib/generators/templates/effective_pages.rb")
    end
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
effective_pages-1.0.11 lib/effective_pages/engine.rb
effective_pages-1.0.10 lib/effective_pages/engine.rb
effective_pages-1.0.9 lib/effective_pages/engine.rb
effective_pages-1.0.8 lib/effective_pages/engine.rb
effective_pages-1.0.7 lib/effective_pages/engine.rb
effective_pages-1.0.6 lib/effective_pages/engine.rb
effective_pages-1.0.5 lib/effective_pages/engine.rb
effective_pages-1.0.4 lib/effective_pages/engine.rb
effective_pages-1.0.3 lib/effective_pages/engine.rb
effective_pages-1.0.2 lib/effective_pages/engine.rb
effective_pages-1.0.1 lib/effective_pages/engine.rb
effective_pages-1.0.0 lib/effective_pages/engine.rb
effective_pages-0.9.9 lib/effective_pages/engine.rb
effective_pages-0.9.8 lib/effective_pages/engine.rb
effective_pages-0.9.7 lib/effective_pages/engine.rb
effective_pages-0.9.6 lib/effective_pages/engine.rb
effective_pages-0.9.5 lib/effective_pages/engine.rb
effective_pages-0.9.4 lib/effective_pages/engine.rb
effective_pages-0.9.3 lib/effective_pages/engine.rb
effective_pages-0.9.2 lib/effective_pages/engine.rb