Sha256: cc91a06729e342faaa03644aaca7002a55c00ea1f449c5255a7b657a7b0619a8

Contents?: true

Size: 526 Bytes

Versions: 16

Compression:

Stored size: 526 Bytes

Contents

module Opay
  class Engine < ::Rails::Engine
    isolate_namespace Opay

    config.generators do |g|
      g.test_framework :rspec, fixture: true
      g.fixture_replacement :factory_girl, dir: 'spec/factories'

      g.view_specs false
      g.helper_specs false

      g.stylesheets = false
      g.javascripts = false
    end

    initializer 'opay.initialize' do
      ActiveSupport.on_load(:action_view) do
        include Opay::Helpers::FormHelper
        include Opay::Helpers::PayuHelper
      end
    end

  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
opay-1.1.6 lib/opay/engine.rb
opay-1.1.5 lib/opay/engine.rb
opay-1.1.4 lib/opay/engine.rb
opay-1.1.3 lib/opay/engine.rb
opay-1.1.2 lib/opay/engine.rb
opay-1.1.1 lib/opay/engine.rb
opay-1.1.0 lib/opay/engine.rb
opay-1.0.9 lib/opay/engine.rb
opay-1.0.8 lib/opay/engine.rb
opay-1.0.7 lib/opay/engine.rb
opay-1.0.6 lib/opay/engine.rb
opay-1.0.5 lib/opay/engine.rb
opay-1.0.4 lib/opay/engine.rb
opay-1.0.3 lib/opay/engine.rb
opay-1.0.1 lib/opay/engine.rb
opay-1.0.0 lib/opay/engine.rb