change more links to searches

This commit is contained in:
albert
2012-03-22 18:05:17 -04:00
parent 779d83e253
commit 054929c7a5
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -39,7 +39,7 @@ class ForumPost < ActiveRecord::Base
end
def editable_by?(user)
creator_id == user.id || user.is_moderator?
creator_id == user.id || user.is_janitor?
end
def update_topic_updated_at
+3 -3
View File
@@ -1,12 +1,12 @@
<div id="more-links" style="display: none;">
<ul>
<%= nav_link_to("Artists", artists_path(:order => "date")) %>
<%= nav_link_to("Tags", tags_path(:order => "date")) %>
<%= nav_link_to("Artists", search_artists_path(:order => "date")) %>
<%= nav_link_to("Tags", search_tags_path(:order => "date")) %>
<% if CurrentUser.is_moderator? %>
<%= nav_link_to("Aliases", tag_aliases_path) %>
<%= nav_link_to("Implications", tag_implications_path) %>
<% end %>
<%= nav_link_to("Pools", pools_path) %>
<%= nav_link_to("Pools", search_pools_path) %>
<% if CurrentUser.is_janitor? %>
<%= nav_link_to("Dashboard", moderator_dashboard_path) %>
<% end %>