From 0e8bf9b03ff6bd65bbcbb7ab45290a7010eebbf8 Mon Sep 17 00:00:00 2001 From: Jorge Manrubia Date: Fri, 26 Sep 2025 18:31:01 +0200 Subject: [PATCH] Link to the new collection perma --- .../filters/menu/collections/_collection.html.erb | 2 +- app/views/my/menus/show.html.erb | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/app/views/filters/menu/collections/_collection.html.erb b/app/views/filters/menu/collections/_collection.html.erb index d3d528b62..48a8ac223 100644 --- a/app/views/filters/menu/collections/_collection.html.erb +++ b/app/views/filters/menu/collections/_collection.html.erb @@ -12,7 +12,7 @@ <%= icon_tag "check", size: 18, class: "checked" %> - <%= link_to cards_path(collection_ids: [ collection ]), class: "popup__btn btn" do %> + <%= link_to collection_path(collection), class: "popup__btn btn" do %> <%= collection.name %> <% end %> diff --git a/app/views/my/menus/show.html.erb b/app/views/my/menus/show.html.erb index c2b224922..9d533a604 100644 --- a/app/views/my/menus/show.html.erb +++ b/app/views/my/menus/show.html.erb @@ -10,11 +10,11 @@ autocomplete: "off", aria: { activedescendant: "" }, data: { - "1p-ignore": "true", - filter_target: "input", - nav_section_expander_target: "input", - navigable_list_target: "input", - action: "input->filter#filter" } %> + "1p-ignore": "true", + filter_target: "input", + nav_section_expander_target: "input", + navigable_list_target: "input", + action: "input->filter#filter" } %>