Skip to content

Commit

Permalink
fix cookies page not disappear after accepted
Browse files Browse the repository at this point in the history
  • Loading branch information
syphax-bouazzouni committed Nov 17, 2024
1 parent 3009c13 commit 2dc88d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/home/cookies.html.haml
Original file line number Diff line number Diff line change
@@ -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')
Expand Down

0 comments on commit 2dc88d3

Please sign in to comment.