From 88dd3576ef16b916037a5f2ecdcb07670cfb1e60 Mon Sep 17 00:00:00 2001 From: Thomas von Deyen Date: Mon, 27 Nov 2023 22:03:54 +0100 Subject: [PATCH] Disable Turbolinks on menubar If a site still uses Turbolinks we need to disable it as well on the menubar. Otherwise the head part of the document will not get replaced and all the JS and CSS from the site is still loaded in Alchemy admin. --- app/views/alchemy/_menubar.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/alchemy/_menubar.html.erb b/app/views/alchemy/_menubar.html.erb index 272c970730..6fe55f8cd4 100644 --- a/app/views/alchemy/_menubar.html.erb +++ b/app/views/alchemy/_menubar.html.erb @@ -1,5 +1,5 @@ <% if !@preview_mode && @page && can?(:edit_content, @page) %> -