Commit bd49d8dfa78cf538885726e28e989a2af97703fa

Authored by Dmitriy Zaporozhets
2 parents 640175f5 498ec08d

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,6 +160,7 @@ class ApplicationController < ActionController::Base
160 def default_headers 160 def default_headers
161 headers['X-Frame-Options'] = 'DENY' 161 headers['X-Frame-Options'] = 'DENY'
162 headers['X-XSS-Protection'] = '1; mode=block' 162 headers['X-XSS-Protection'] = '1; mode=block'
  163 + headers['X-UA-Compatible'] = 'IE=edge'
163 end 164 end
164 165
165 def add_gon_variables 166 def add_gon_variables