From 2dc88d3d8f7ed100a41e8a29372a2bb5232718b4 Mon Sep 17 00:00:00 2001 From: Syphax Date: Sun, 17 Nov 2024 08:56:26 +0100 Subject: [PATCH] fix cookies page not disappear after accepted --- app/views/home/cookies.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/home/cookies.html.haml b/app/views/home/cookies.html.haml index 453490073b..eb08a7e681 100644 --- a/app/views/home/cookies.html.haml +++ b/app/views/home/cookies.html.haml @@ -1,5 +1,5 @@ = turbo_frame_tag :cookies_modal do - - if session[:cookies_accepted].nil? # don't re-render if a true/false selected + - if cookies[:cookies_accepted].nil? # don't re-render if a true/false selected %section.cookies-modal %h4 = t('cookies_modal.title')