Sha256: 6c03d6e80a90f5e40c1369ad8e22e80ced01d189d5f2240311e0cb17f295a195

Contents?: true

Size: 299 Bytes

Versions: 18

Compression:

Stored size: 299 Bytes

Contents

module Wovnrb
  class Railtie < Rails::Railtie
    initializer 'wovnrb.configure_rails_initialization' do |app|
      install_middleware = Rails.configuration.wovnrb.fetch(:install_middleware, true)

      app.middleware.insert_before(0, Wovnrb::Interceptor) if install_middleware
    end
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
wovnrb-3.11.1 lib/wovnrb/railtie.rb
wovnrb-3.11.0 lib/wovnrb/railtie.rb
wovnrb-3.10.3 lib/wovnrb/railtie.rb
wovnrb-3.10.2 lib/wovnrb/railtie.rb
wovnrb-3.10.1 lib/wovnrb/railtie.rb
wovnrb-3.10.0 lib/wovnrb/railtie.rb
wovnrb-3.9.0 lib/wovnrb/railtie.rb
wovnrb-3.8.0 lib/wovnrb/railtie.rb
wovnrb-3.7.2 lib/wovnrb/railtie.rb
wovnrb-3.7.1 lib/wovnrb/railtie.rb
wovnrb-3.6.0 lib/wovnrb/railtie.rb
wovnrb-3.5.0 lib/wovnrb/railtie.rb
wovnrb-3.4.1 lib/wovnrb/railtie.rb
wovnrb-3.4.0 lib/wovnrb/railtie.rb
wovnrb-3.3.1 lib/wovnrb/railtie.rb
wovnrb-3.2.0 lib/wovnrb/railtie.rb
wovnrb-3.1.0 lib/wovnrb/railtie.rb
wovnrb-3.0.3 lib/wovnrb/railtie.rb