From 4477984d2da81cd28fd3b8f6cec4ca2316a40336 Mon Sep 17 00:00:00 2001 From: evazion Date: Mon, 27 Sep 2021 10:48:07 -0500 Subject: [PATCH] navbar: remove `?group_by=post` from comments link Remove the `group_by=post` param from the `https://danbooru.donmai.us/comments?group_by=post` link in the main navbar. This is unnecessary since it's the default mode for `https://danbooru.donmai.us/comments`. --- app/views/layouts/_main_links.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/layouts/_main_links.html.erb b/app/views/layouts/_main_links.html.erb index 6ec3071b5..78dc2f5c1 100644 --- a/app/views/layouts/_main_links.html.erb +++ b/app/views/layouts/_main_links.html.erb @@ -5,7 +5,7 @@ <%= nav_link_to("My Account #{unread_dmail_indicator(CurrentUser.user)}", profile_path) %> <% end %> <%= nav_link_to("Posts", posts_path) %> - <%= nav_link_to("Comments", comments_path(:group_by => "post")) %> + <%= nav_link_to("Comments", comments_path) %> <%= nav_link_to("Notes", notes_path) %> <%= nav_link_to("Artists", artists_path) %> <%= nav_link_to("Tags", tags_path) %>