From 97cd3fb413bdd34cfc4d8257e0d25a7afef0f5fb Mon Sep 17 00:00:00 2001 From: danielvincent Date: Tue, 29 Jun 2010 19:08:23 -0700 Subject: [PATCH] DG IZ; comment count in status message partial --- app/views/status_messages/_status_message.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/status_messages/_status_message.html.haml b/app/views/status_messages/_status_message.html.haml index f036ed9c1..e058eb5fb 100644 --- a/app/views/status_messages/_status_message.html.haml +++ b/app/views/status_messages/_status_message.html.haml @@ -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)