From: John Firebaugh Date: Thu, 14 Nov 2013 18:17:27 +0000 (-0800) Subject: Add X-UA-Compatible meta tag X-Git-Tag: live~4682 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/1688c361d459a6fefc66149b14ea7a0e7ffc1033?ds=sidebyside Add X-UA-Compatible meta tag Rails 4 removed the `BestStandardsSupport` middleware, because supposedly a HTML5 doctype accomplishes the same thing. But not quite -- without X-UA-Compatible, the UI for changing compatibility mode is still visible, and users can get themselves into a bad state (see https://github.com/openstreetmap/openstreetmap-website/pull/498#issuecomment-28483550) --- diff --git a/app/views/layouts/_head.html.erb b/app/views/layouts/_head.html.erb index 95984ca97..2649354f5 100644 --- a/app/views/layouts/_head.html.erb +++ b/app/views/layouts/_head.html.erb @@ -1,4 +1,5 @@ + <%= javascript_include_tag "application" %>