fix missing reshares count on mobile stream

This commit is contained in:
Sayed 2015-03-16 22:03:23 +02:00
parent ea4b590943
commit 99f42cb643
2 changed files with 5 additions and 1 deletions

View file

@ -1,5 +1,9 @@
.comment_container .comment_container
.post_stats .post_stats
- if @post.public?
%span.reshare_count
= @post.reshares.size
%span.comment_count %span.comment_count
= @post.comments.size = @post.comments.size
%span.like_count %span.like_count

View file

@ -33,7 +33,7 @@
.comment_container .comment_container
.post_stats .post_stats
- if post.public? - if post.public?
%span.comment_count %span.reshare_count
= post.reshares.size = post.reshares.size
%span.comment_count %span.comment_count