This commit is contained in:
Frederik 2018-11-08 15:30:05 +01:00 committed by Peter Bhat Harkins
parent 4870da7ec6
commit b2527d03e3
1 changed files with 1 additions and 2 deletions

View File

@ -168,11 +168,10 @@ class="story <%= story.vote && story.vote[:vote] == 1 ? "upvoted" : "" %>
|
<a href="<%= story.comments_path %>">
<% if story.comments_count == 0 %>
no comments
no comments</a>
<% else %>
<%= story.comments_count %> <%= 'comment'.pluralize(story.comments_count) %></a>
<% end %>
</a>
</span>
<% end %>