mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Forgot to check in this new file
This commit is contained in:
parent
123eb25fd1
commit
aa24ea41d0
1 changed files with 13 additions and 0 deletions
|
@ -0,0 +1,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
|
Loading…
Reference in a new issue