artists: add test for hiding deleted wikis on artist pages (#4526).

This commit is contained in:
evazion
2020-06-23 02:57:30 -05:00
parent d1e0542eb5
commit be4bdfc136
3 changed files with 24 additions and 6 deletions

View File

@@ -28,7 +28,7 @@
<%= format_text(@wiki_page.body) %>
<% end %>
<% if @wiki_page.artist.present? && !@wiki_page.artist.is_deleted %>
<% if @wiki_page.artist.present? && !@wiki_page.artist.is_deleted? %>
<p><%= link_to "View artist", @wiki_page.artist %></p>
<% end %>