Sha256: ac8bf238cfa748f23d9a86619e474133d312962594bc7b36f04232e8b1010970

Contents?: true

Size: 484 Bytes

Versions: 1

Compression:

Stored size: 484 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
      end
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
opay-1.0.0.beta lib/opay/engine.rb