From b017f1b0f9cd9c6427bf57176a4b8beddee7cd36 Mon Sep 17 00:00:00 2001 From: maxwell Date: Sat, 26 Jun 2010 23:43:30 -0700 Subject: [PATCH] forgot to add partial file to git...sorry --- app/views/comments/_comments.html.haml | 6 ++++++ app/views/layouts/application.html.haml | 2 -- 2 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 app/views/comments/_comments.html.haml diff --git a/app/views/comments/_comments.html.haml b/app/views/comments/_comments.html.haml new file mode 100644 index 000000000..374f585e5 --- /dev/null +++ b/app/views/comments/_comments.html.haml @@ -0,0 +1,6 @@ +%div.comments + = render "comments/new_comment", :post => post + %ul.comment_set + - for comment in post.comments + = render "comments/comment", :comment => comment + diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml index ed68a43be..d10b10d2f 100644 --- a/app/views/layouts/application.html.haml +++ b/app/views/layouts/application.html.haml @@ -26,8 +26,6 @@ :javascript $(document).ready(function(){ - - function debug(str){ $("#debug").append("

" + str); }; ws = new WebSocket("ws://#{request.host}:8080/");