moved artist ban to separate action/button

This commit is contained in:
albert
2013-02-23 10:56:27 -05:00
parent 7585462368
commit 6bc5b96d8e
5 changed files with 11 additions and 13 deletions

View File

@@ -11,6 +11,9 @@
<li><%= link_to "Show", artist_path(@artist) %></li>
<li><%= link_to "Edit", edit_artist_path(@artist) %></li>
<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 %>
<% end %>
<% end %>
</menu>
<% end %>