refactoring views

This commit is contained in:
albert
2011-08-16 18:47:01 -04:00
parent c8067a4691
commit 24bf21540a
46 changed files with 244 additions and 298 deletions

View File

@@ -11,7 +11,7 @@
<div class="preview">
<%= link_to(image_tag(post.preview_file_url), post_path(post)) %>
</div>
<%= render :partial => "comments/partials/index/list", :locals => {:post => post, :comments => post.comments.recent.reverse, :show_header => true} %>
<%= render "comments/partials/index/list", :post => post, :comments => post.comments.recent.reverse, :show_header => true %>
<div class="clearfix"></div>
</div>
<% end %>
@@ -20,4 +20,4 @@
</div>
</div>
<%= render "comments/secondary_links" %>
<%= render "comments/secondary_links" %>