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)