Sha256: 22c5658582b00d3a41b5543fc2d752133d8b8b6dcf6a46d01c0678e179f15ef7
Contents?: true
Size: 388 Bytes
Versions: 2
Compression:
Stored size: 388 Bytes
Contents
module RequestStore class Railtie < ::Rails::Railtie initializer "request_store.insert_middleware" do |app| if ActionDispatch.const_defined? :RequestId app.config.middleware.insert_after ActionDispatch::RequestId, RequestStore::Middleware else app.config.middleware.insert_after Rack::MethodOverride, RequestStore::Middleware end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
request_store-1.1.0 | lib/request_store/railtie.rb |
request_store-1.0.8 | lib/request_store/railtie.rb |