]> git.openstreetmap.org Git - rails.git/commit
Add X-UA-Compatible meta tag
authorJohn Firebaugh <john.firebaugh@gmail.com>
Thu, 14 Nov 2013 18:17:27 +0000 (10:17 -0800)
committerJohn Firebaugh <john.firebaugh@gmail.com>
Thu, 14 Nov 2013 18:17:27 +0000 (10:17 -0800)
commit1688c361d459a6fefc66149b14ea7a0e7ffc1033
tree3e82a2d9e4a46eed96b2826c2c5cc50a15dc6984
parentd9a48e936e6a0207ccff0a6c6f097abaf2f7bed1
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