add jrails, work on comments

This commit is contained in:
albert
2010-10-21 18:56:00 -04:00
parent f8b1bd3142
commit a9da0f1059
38 changed files with 20481 additions and 7 deletions

View File

@@ -1,2 +1,7 @@
- @posts.each do |post|
= @post.id
%div{:class => "comments"}
%div{:class => "index"}
- @posts.each do |post|
%div{:class => "preview"}
= image_tag(post.medium_file_url)
= render :partial => "comments/partials/index/list", :locals => {:post => post, :comments => post.comments}
%div{:class => "clearfix"}