Fix </a>
This commit is contained in:
parent
4870da7ec6
commit
b2527d03e3
|
@ -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 %>
|
||||
|
||||
|
|
Loading…
Reference in New Issue