remove redundant params in nav links

This commit is contained in:
Toks
2013-04-30 19:07:54 -04:00
parent 1de2374a60
commit 091385f08a
2 changed files with 3 additions and 3 deletions

View File

@@ -554,7 +554,7 @@ class Tag < ActiveRecord::Base
q = q.reorder("name")
else
q = q.reorder("post_count desc")
q = q.reorder("id desc")
end
q

View File

@@ -7,8 +7,8 @@
<%= nav_link_to("Posts", posts_path) %>
<%= nav_link_to("Comments", comments_path(:group_by => "post")) %>
<%= nav_link_to("Notes", notes_path(:group_by => "post")) %>
<%= nav_link_to("Artists", artists_path(:search => {:order => "date"})) %>
<%= nav_link_to("Tags", tags_path(:search => {:order => "date"})) %>
<%= nav_link_to("Artists", artists_path) %>
<%= nav_link_to("Tags", tags_path) %>
<% if CurrentUser.is_moderator? %>
<%= nav_link_to("Aliases", tag_aliases_path) %>
<%= nav_link_to("Implications", tag_implications_path) %>