From 1688c361d459a6fefc66149b14ea7a0e7ffc1033 Mon Sep 17 00:00:00 2001 From: John Firebaugh Date: Thu, 14 Nov 2013 10:17:27 -0800 Subject: [PATCH] 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) --- app/views/layouts/_head.html.erb | 1 + 1 file changed, 1 insertion(+) 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" %> -- 2.43.2