Force IE use latest engine to render.

This commit is contained in:
xyb 2013-12-27 19:38:29 +08:00
parent 5b1984ce5a
commit 498ec08da3
1 changed files with 1 additions and 0 deletions

View File

@ -160,6 +160,7 @@ class ApplicationController < ActionController::Base
def default_headers
headers['X-Frame-Options'] = 'DENY'
headers['X-XSS-Protection'] = '1; mode=block'
headers['X-UA-Compatible'] = 'IE=edge'
end
def add_gon_variables