Sha256: 6ddee4e59bf0a85f3b4736349fac9388f2c3f145a1f998065b1da7cdcf56cefc

Contents?: true

Size: 504 Bytes

Versions: 10

Compression:

Stored size: 504 Bytes

Contents

module Nimbleshop
  class Engine < ::Rails::Engine

    engine_name 'nimbleshop_core'

    config.autoload_paths += %W(#{config.root}/lib)
    config.autoload_paths += %W(#{config.root}/lib/nimbleshop)

    config.to_prepare do
      Address
      ShippingZone
    end

    initializer 'nimbleshop_core.action_controller' do |app|
      ActiveSupport.on_load :action_controller do
        helper AdminHelper
        helper NimbleshopHelper
        helper PaymentMethodHelper
      end
    end

  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
nimbleshop_core-0.0.3 lib/nimbleshop/engine.rb
nimbleshop_core-0.0.2 lib/nimbleshop/engine.rb
nimbleshop_core-0.0.2.beta1 lib/nimbleshop/engine.rb
nimbleshop_core-0.0.1 lib/nimbleshop/engine.rb
nimbleshop_core-0.0.1.rc6 lib/nimbleshop/engine.rb
nimbleshop_core-0.0.1.rc5 lib/nimbleshop/engine.rb
nimbleshop_core-0.0.1.rc4 lib/nimbleshop/engine.rb
nimbleshop_core-0.0.1.rc3 lib/nimbleshop/engine.rb
nimbleshop_core-0.0.1.rc2 lib/nimbleshop/engine.rb
nimbleshop_core-0.0.1.rc1 lib/nimbleshop/engine.rb