reverted post thumbnail change, fix for mod queue

This commit is contained in:
albert
2012-03-13 18:39:20 -04:00
parent 7269ec0076
commit a39d5bc19e
6 changed files with 8 additions and 32 deletions

View File

@@ -9,7 +9,7 @@
<% @posts.each do |post| %>
<div class="post">
<div class="preview">
<%= link_to(image_tag(post.preview_file_url, :style => "margin-left: #{PostPresenter.margin_left(post)}; margin-top: #{PostPresenter.margin_top(post)};"), post_path(post)) %>
<%= link_to(image_tag(post.preview_file_url, post_path(post)) %>
</div>
<%= render "comments/partials/index/list", :post => post, :comments => post.comments.visible(CurrentUser.user).recent, :show_header => true %>
<div class="clearfix"></div>