Skip to content

Commit

Permalink
Merge pull request #35 from JuzerShakir/fix-flash-bug
Browse files Browse the repository at this point in the history
🐛 Preventing flash messages from reappearing
  • Loading branch information
JuzerShakir authored Jan 30, 2024
2 parents 61f3b6c + 391431b commit 1e47a9e
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 1e47a9e

Please sign in to comment.