1 2 3 4 5 6 7 8 9 10 11 12 13
module ActionDispatch class BestStandardsSupport 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