From 835af696703484208882a70cc5dd47c5838ecf58 Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Thu, 12 Oct 2023 17:10:34 -0400 Subject: Added blog post commenting --- app/views/comments/_layout.html.haml | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 app/views/comments/_layout.html.haml (limited to 'app/views/comments/_layout.html.haml') diff --git a/app/views/comments/_layout.html.haml b/app/views/comments/_layout.html.haml new file mode 100644 index 0000000..9acf6b0 --- /dev/null +++ b/app/views/comments/_layout.html.haml @@ -0,0 +1,6 @@ +%a{ name: "comments" } +#comments + %h2 Comments + - blog.comments.published_and_ordered.each do |comment| + = render comment + = render "comments/form", blog: blog -- cgit 1.4.1