5
3
mirror of https://github.com/tildeverse/lobsters synced 2024-06-14 13:06:41 +00:00

always show comments link to mods

This commit is contained in:
Peter Bhat Harkins 2020-02-02 22:45:49 -06:00
parent 80681df2c6
commit d1504e0af1

View File

@ -161,7 +161,7 @@ class="story <%= story.vote && story.vote[:vote] == 1 ? "upvoted" : "" %>
<a href="<%= story.archive_url %>" rel="nofollow"
target="_blank">cached</a>
<% end %>
<% if !story.is_gone? %>
<% if !story.is_gone? || @user.try(:is_moderator?) %>
<span class="comments_label">
|
<a href="<%= story.comments_path %>">