diff options
author | xyb <xyb@xyb.name> | 2013-12-27 19:38:29 +0800 |
---|---|---|
committer | xyb <xyb@xyb.name> | 2013-12-27 19:38:29 +0800 |
commit | 498ec08da3a7dae92b317e838689e73935fcb38a (patch) | |
tree | 9a8b92b8cd9ff36699150000353062f11d0e0704 /app/controllers | |
parent | 5b1984ce5a01d66b2630f76ef47ac156980ee38e (diff) | |
download | gitlab-ce-498ec08da3a7dae92b317e838689e73935fcb38a.tar.gz |
Force IE use latest engine to render.
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/application_controller.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index c398593c5f6..0e714dbfcdf 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -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 |