Sha256: d88b358a8085a0e960aac66d6071999b7bbfc475a3a01cb982b40cc59bfc57d2
Contents?: true
Size: 367 Bytes
Versions: 1
Compression:
Stored size: 367 Bytes
Contents
module Touth class Railtie < ::Rails::Railtie initializer 'request_store.insert_middleware' do |app| if ActionDispatch.const_defined? :RequestId app.config.middleware.insert_after ActionDispatch::RequestId, Touth::Middleware else app.config.middleware.insert_after Rack::MethodOverride, Touth::Middleware end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
touth-1.3.0 | lib/touth/railtie.rb |