fixes #130: Comments page shows comments in backwards order

This commit is contained in:
albert
2011-10-15 22:19:03 -04:00
parent 5f9e56b88c
commit d957a1eba4

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.reverse, :show_header => true %>
<%= render "comments/partials/index/list", :post => post, :comments => post.comments.recent, :show_header => true %>
<div class="clearfix"></div>
</div>
<% end %>