Sha256: cbecf7aff7be68aa8a9cf69131e103e77508f1dab670f9c25c7827975dab026c

Contents?: true

Size: 240 Bytes

Versions: 2

Compression:

Stored size: 240 Bytes

Contents

module Wovnrb
  class Railtie < Rails::Railtie
    initializer 'wovnrb.configure_rails_initialization' do |app|
      app.middleware.insert_before(0, Wovnrb::Interceptor) if Rails.configuration.wovnrb[:install_middleware]
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
wovnrb-3.0.1 lib/wovnrb/railtie.rb
wovnrb-3.0.0 lib/wovnrb/railtie.rb