blog comment improvements

This commit is contained in:
jomo
2015-04-01 16:59:01 +02:00
parent 72503392e0
commit 320cfa56f9
2 changed files with 13 additions and 1 deletions

View File

@@ -20,7 +20,7 @@
</div>
</div>
<div id="comments">
<h3><%= "#{pluralize(@post.comments.size, 'comment')}." %></h3>
<h3><%= "#{pluralize(@comments.size, 'comment')}." %></h3>
<% @comments.each do |c| %>
<%= render "comments/comment", c: c %>
<% end %>