diff --git a/app/views/artists/_show.html.erb b/app/views/artists/_show.html.erb index 3e7a65bec..5352fc333 100644 --- a/app/views/artists/_show.html.erb +++ b/app/views/artists/_show.html.erb @@ -8,7 +8,7 @@ <% if @artist.is_banned? && !policy(@artist).can_view_banned? %>
The artist requested removal of this page.
<% else %> - <% if @artist.wiki_page.present? %> + <% if @artist.wiki_page.present? && !@artist.wiki_page.is_deleted %><%= link_to "View artist", @wiki_page.artist %>
<% end %>