From f7b5a6f1ea90297fc76d51973b997f62cec2a925 Mon Sep 17 00:00:00 2001 From: Jorge Manrubia Date: Mon, 27 Nov 2023 08:58:54 +0100 Subject: [PATCH] Page refreshes --- app/views/layouts/application.html.erb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index 6adc6ea..4b2251a 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -9,6 +9,9 @@ <%= stylesheet_link_tag "application", "data-turbo-track": "reload" %> <%= javascript_importmap_tags %> + + <%= turbo_refreshes_with method: :morph, scroll: :preserve %> + <%= yield :head %>