Sha256: 131c8c6972fed63b6f9a23cf195b051e2169491f380f91261f341ab7374e731c

Contents?: true

Size: 339 Bytes

Versions: 1

Compression:

Stored size: 339 Bytes

Contents

module Marlowe
  class Railtie < Rails::Railtie
    initializer 'marlowe.configure_rails_initialization' do
      app.middleware.insert_before Rails::Rack::Logger, Marlowe::Middleware, correlation_header: Rails.application.config.try(:marlowe_correlation_header)
    end

    #:nodoc:
    def app
      Rails.application
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
marlowe-1.0.3 lib/marlowe/rails.rb