From 70d00520b3ba91fba5d73071207c784be2bbadb0 Mon Sep 17 00:00:00 2001 From: Eoin Kelly Date: Fri, 6 Oct 2023 13:26:28 +1300 Subject: [PATCH] fix: include nonce --- .../backend-base/app/views/layouts/application.html.erb.tt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/variants/backend-base/app/views/layouts/application.html.erb.tt b/variants/backend-base/app/views/layouts/application.html.erb.tt index c3c68b5e..e20f9ef9 100644 --- a/variants/backend-base/app/views/layouts/application.html.erb.tt +++ b/variants/backend-base/app/views/layouts/application.html.erb.tt @@ -2,7 +2,7 @@ - <%%= strip_tags(yield(:title)) + " – " if content_for?(:title) %> + <%%= strip_tags(yield(:title)) + " - " if content_for?(:title) %> <%= app_const_base.titleize %> @@ -15,7 +15,7 @@ <%%= stylesheet_link_tag("application", media: "all", "data-turbolinks-track": "reload") %> <%%# JavaScript must be in head for Turbolinks to work. %> - <%%= javascript_pack_tag "application", "data-turbolinks-track": "reload", defer: true %> + <%%= javascript_pack_tag "application", "data-turbolinks-track": "reload", defer: true, nonce: true %> <%%= yield(:head) %>