This didn't update the page because it never hit the format.html render

This commit is contained in:
Jason Zimdars
2025-07-23 18:32:02 -05:00
parent be9c4b706f
commit 3a53d8359c
+1 -1
View File
@@ -21,7 +21,7 @@
<% if @unread.any? %>
<div class="flex align-center justify-space-between margin-block-start margin-block-end-half">
<h2 class="txt-medium txt-uppercase txt-alert">New for you</h2>
<%= button_to "Mark all as read", read_all_notifications_path, class: "btn txt-small" %>
<%= button_to "Mark all as read", read_all_notifications_path, class: "btn txt-small", form: { data: { turbo: false } } %>
</div>
<% else %>
<div class="notifications-list__empty-message pad border-radius border translucent" style="--border-style: dashed; --border-color: var(--color-ink); --border-radius: 0.2em;">