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/");