Commit bd49d8df authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge pull request #5938 from xieyubo/master

Force IE use latest engine to render.
parents 640175f5 498ec08d
...@@ -160,6 +160,7 @@ class ApplicationController < ActionController::Base ...@@ -160,6 +160,7 @@ class ApplicationController < ActionController::Base
def default_headers def default_headers
headers['X-Frame-Options'] = 'DENY' headers['X-Frame-Options'] = 'DENY'
headers['X-XSS-Protection'] = '1; mode=block' headers['X-XSS-Protection'] = '1; mode=block'
headers['X-UA-Compatible'] = 'IE=edge'
end end
def add_gon_variables def add_gon_variables
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment