Sha256: e1feeb55eef2b4d50257f9239cd941f075972dda57638594f60b7db80da8fa75
Contents?: true
Size: 309 Bytes
Versions: 7
Compression:
Stored size: 309 Bytes
Contents
# From ActionPack module Olelo module Middleware class UAHeader def initialize(app) @app = app end def call(env) status, headers, body = @app.call(env) headers['X-UA-Compatible'] = 'IE=Edge,chrome=1' [status, headers, body] end end end end
Version data entries
7 entries across 7 versions & 1 rubygems