Return to root when clearing filters

Avoids landing on that awful "All boards" view
This commit is contained in:
Jason Zimdars
2025-12-01 16:03:21 -06:00
parent e4fb0e8314
commit 27efd1f8c3
+1 -1
View File
@@ -1,7 +1,7 @@
<% filter = user_filtering.filter %>
<div class="filters__manage gap-half">
<%= link_to no_filtering_url, class: "btn btn--remove txt-x-small", data: { controller: "hotkey tooltip", action: "keydown.esc@document->hotkey#click"} do %>
<%= link_to root_path, class: "btn btn--remove txt-x-small", data: { controller: "hotkey tooltip", action: "keydown.esc@document->hotkey#click"} do %>
<%= icon_tag "close" %>
<span class="for-screen-reader">Clear all</span>
<% end %>