remove links that are not usable by anon users, fixes #977
This commit is contained in:
@@ -37,7 +37,9 @@
|
||||
</ul>
|
||||
</td>
|
||||
<td>
|
||||
<%= link_to "Revert", revert_artist_path(artist_version.artist_id, :version_id => artist_version.id), :method => :put, :confirm => "Are you sure you want to revert this artist?" %>
|
||||
<% if CurrentUser.is_member? %>
|
||||
<%= link_to "Revert", revert_artist_path(artist_version.artist_id, :version_id => artist_version.id), :method => :put, :confirm => "Are you sure you want to revert this artist?" %>
|
||||
<% end %>
|
||||
</td>
|
||||
</tr>
|
||||
<% end %>
|
||||
|
||||
Reference in New Issue
Block a user