Commit bd49d8dfa78cf538885726e28e989a2af97703fa
Exists in
spb-stable
and in
3 other branches
Merge pull request #5938 from xieyubo/master
Force IE use latest engine to render.
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
app/controllers/application_controller.rb
... | ... | @@ -160,6 +160,7 @@ class ApplicationController < ActionController::Base |
160 | 160 | def default_headers |
161 | 161 | headers['X-Frame-Options'] = 'DENY' |
162 | 162 | headers['X-XSS-Protection'] = '1; mode=block' |
163 | + headers['X-UA-Compatible'] = 'IE=edge' | |
163 | 164 | end |
164 | 165 | |
165 | 166 | def add_gon_variables | ... | ... |