Sha256: 43e9ab62da6caf38a1aca059b505810fed89f593650bd7277f45a291ee6e06f6

Contents?: true

Size: 586 Bytes

Versions: 21

Compression:

Stored size: 586 Bytes

Contents

require "adeia/controller_methods"
require "adeia/helpers/sessions_helper"

module Adeia
  class Engine < ::Rails::Engine
    require 'snaptable'

    isolate_namespace Adeia

    config.generators do |g|
      g.test_framework :rspec
      g.assets false
      g.helper false
      g.factory_girl false
    end

    initializer 'Adeia.controller_methods' do |app|
      ActionController::Base.send :include, Adeia::ControllerMethods
    end

    initializer 'Adeia.sessions_helper' do |app|
      ActionController::Base.send :include, Adeia::Helpers::SessionsHelper
    end

  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
adeia-0.8.6 lib/adeia/engine.rb
adeia-0.8.5 lib/adeia/engine.rb
adeia-0.8.4 lib/adeia/engine.rb
adeia-0.8.3 lib/adeia/engine.rb
adeia-0.8.2 lib/adeia/engine.rb
adeia-0.8.1 lib/adeia/engine.rb
adeia-0.8.0 lib/adeia/engine.rb
adeia-0.7.1 lib/adeia/engine.rb
adeia-0.7.0 lib/adeia/engine.rb
adeia-0.6.2 lib/adeia/engine.rb
adeia-0.6.1 lib/adeia/engine.rb
adeia-0.6.0 lib/adeia/engine.rb
adeia-0.5.6 lib/adeia/engine.rb
adeia-0.5.5 lib/adeia/engine.rb
adeia-0.5.4 lib/adeia/engine.rb
adeia-0.5.3 lib/adeia/engine.rb
adeia-0.5.2 lib/adeia/engine.rb
adeia-0.5.1 lib/adeia/engine.rb
adeia-0.5.0 lib/adeia/engine.rb
adeia-0.4.0 lib/adeia/engine.rb