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/helpers/comments_helper.rb | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 app/helpers/comments_helper.rb (limited to 'app/helpers/comments_helper.rb') diff --git a/app/helpers/comments_helper.rb b/app/helpers/comments_helper.rb new file mode 100644 index 0000000..5939adc --- /dev/null +++ b/app/helpers/comments_helper.rb @@ -0,0 +1,5 @@ +module CommentsHelper + def show_comments(blog) + render "comments/layout", blog: blog + end +end -- cgit 1.4.1