This commit is contained in:
albert
2012-01-14 17:10:31 -05:00
parent a7bbbe8043
commit 57e93f8e69
2 changed files with 2 additions and 2 deletions

View File

@@ -11,7 +11,7 @@
<div class="preview">
<%= link_to(image_tag(post.preview_file_url), post_path(post)) %>
</div>
<%= render "comments/partials/index/list", :post => post, :comments => post.comments.recent, :show_header => true %>
<%= render "comments/partials/index/list", :post => post, :comments => post.comments.visible(CurrentUser.user).recent, :show_header => true %>
<div class="clearfix"></div>
</div>
<% end %>