add artist link on new wiki pages

This commit is contained in:
Toks
2013-07-07 19:56:59 -04:00
parent 39a6cca62a
commit a70fce91c0
2 changed files with 5 additions and 1 deletions

View File

@@ -8,10 +8,13 @@
<p>This wiki page does not exist. <%= link_to "Create new wiki page", new_wiki_page_path(:wiki_page => {:title => params[:title]}) %>.</p>
</div>
<% if @artist %>
<p><%= link_to "View artist", @artist %></p>
<% end %>
<%= wiki_page_alias_and_implication_list(@wiki_page)%>
<%= wiki_page_post_previews(@wiki_page) %>
</section>
</div>
</div>