Permalink
Browse files

Adding comments count to index for draper exercise

  • Loading branch information...
1 parent 504c3f2 commit a6c72b60c2b81bdaba642c849f62740dec57ce1c @jcasimir jcasimir committed Jan 10, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 app/views/articles/index.html.erb
@@ -15,6 +15,7 @@
<%= edit_icon(article) %>
<%= delete_icon(article) %>
</span>
+ <%= pluralize article.comments.count, "Comment" %>
</li>
<% end %>
</ul>

0 comments on commit a6c72b6

Please sign in to comment.