Skip to content

Commit

Permalink
🐛: disable cache for flash (fixes multiple display)
Browse files Browse the repository at this point in the history
  • Loading branch information
JuzerShakir committed Jan 30, 2024
1 parent de79a44 commit 391431b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/shared/_flash_messages.html.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div id="flash" data-controller="autohide" class="z-2 position-fixed bg-primary rounded-5 fs-5 p-3 mt-4">
<div id="flash" data-controller="autohide" data-turbo-temporary class="z-2 position-fixed bg-primary rounded-5 fs-5 p-3 mt-4">
<% flash.each do |name, msg| %>
<%= render_flash(name, msg) %>
<% end %>
Expand Down

0 comments on commit 391431b

Please sign in to comment.