aboutsummaryrefslogblamecommitdiffstats
path: root/actionpack/lib/action_dispatch/middleware/best_standards_support.rb
blob: df8f7766bbc6792faa93649cab27077ada0aed5e (plain) (tree)
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