remove redundant params in nav links

This commit is contained in:
Toks
2013-04-30 19:21:04 -04:00
parent 1de2374a60
commit 091385f08a
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -554,7 +554,7 @@ class Tag < ActiveRecord::Base
q = q.reorder("name") q = q.reorder("name")
else else
q = q.reorder("post_count desc") q = q.reorder("id desc")
end end
q q
+2 -2
View File
@@ -7,8 +7,8 @@
<%= nav_link_to("Posts", posts_path) %> <%= nav_link_to("Posts", posts_path) %>
<%= nav_link_to("Comments", comments_path(:group_by => "post")) %> <%= nav_link_to("Comments", comments_path(:group_by => "post")) %>
<%= nav_link_to("Notes", notes_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("Artists", artists_path) %>
<%= nav_link_to("Tags", tags_path(:search => {:order => "date"})) %> <%= nav_link_to("Tags", tags_path) %>
<% if CurrentUser.is_moderator? %> <% if CurrentUser.is_moderator? %>
<%= nav_link_to("Aliases", tag_aliases_path) %> <%= nav_link_to("Aliases", tag_aliases_path) %>
<%= nav_link_to("Implications", tag_implications_path) %> <%= nav_link_to("Implications", tag_implications_path) %>