remove links that are not usable by anon users, fixes #977
This commit is contained in:
@@ -10,7 +10,9 @@
|
||||
<li>|</li>
|
||||
<li><%= link_to "Posts", posts_path(:tags => @artist.name) %></li>
|
||||
<li><%= link_to "Show", artist_path(@artist) %></li>
|
||||
<li><%= link_to "Edit", edit_artist_path(@artist) %></li>
|
||||
<% if CurrentUser.is_member? %>
|
||||
<li><%= link_to "Edit", edit_artist_path(@artist) %></li>
|
||||
<% end %>
|
||||
<li><%= link_to "History", artist_versions_path(:search => {:artist_id => @artist.id}) %></li>
|
||||
<% if CurrentUser.is_admin? %>
|
||||
<%= link_to "Ban", ban_artist_path(@artist), :method => :put %>
|
||||
|
||||
Reference in New Issue
Block a user