Skip to content

Commit

Permalink
Adding comments count to index for draper exercise
Browse files Browse the repository at this point in the history
  • Loading branch information
jcasimir committed Jan 10, 2012
1 parent 504c3f2 commit a6c72b6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/views/articles/index.html.erb
Expand Up @@ -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.