remove redundant params in nav links
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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) %>
|
||||
|
||||
Reference in New Issue
Block a user