DG IZ; comment count in status message partial

This commit is contained in:
danielvincent 2010-06-29 19:08:23 -07:00
parent 8ff241cdde
commit 97cd3fb413

View file

@ -6,7 +6,7 @@
%div.time
= link_to(how_long_ago(post), status_message_path(post))
\--
= link_to "show comments (xx)", '#', :class => "show_post_comments"
= link_to "show comments (#{post.comments.count})", '#', :class => "show_post_comments"
= render "comments/comments", :post => post
- if mine?(post)