Commit 498ec08da3a7dae92b317e838689e73935fcb38a

Authored by xyb
1 parent 5b1984ce

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