Sha256: 650b48b5165bc2dc4e71402cbea586d47b7e38a399fba966c4f857aee71a391f
Contents?: true
Size: 414 Bytes
Versions: 3
Compression:
Stored size: 414 Bytes
Contents
module Manifold class Engine < Rails::Railtie config.manifold = Manifold.config initializer "manifold.middleware" do |app| app.config.middleware.insert 0, Manifold::Middleware end initializer "manifold.headers" do |app| app.config.manifold.expose << "X-Request-Id" app.config.manifold.expose << "X-Runtime" app.config.manifold.expose << "X-Rack-Cache" end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
manifold-1.0.2 | lib/manifold/railtie.rb |
manifold-1.0.1 | lib/manifold/railtie.rb |
manifold-1.0.0 | lib/manifold/railtie.rb |