tomhughes left a comment (openstreetmap/openstreetmap-website#6187)
I've added that in now although I don't think it's a perfect solution - it
restore the CSRF meta tags which is the immediate problem here but there's lots
of other stuff that gets lost from the `head` element.
In principle the `yield :head` lets you add stuff in but that requires you to
have been able to call `content_for :head` without having to add it to every
individual page but that would have to be done from the layout which we're not
in control of.
If it proves to be a problem then we could replace their special layout with
one of our own that includes a fuller `head` element without all the rest of
the layout.
You do of course still get the rest of the page outside the layout in any case.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6187#issuecomment-3067289617
You are receiving this because you are subscribed to this thread.
Message ID:
<openstreetmap/openstreetmap-website/pull/6187/c3067289...@github.com>
_______________________________________________
rails-dev mailing list
rails-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/rails-dev