diff options
Diffstat (limited to 'app/helpers/comments_helper.rb')
-rw-r--r-- | app/helpers/comments_helper.rb | 5 |
1 files changed, 5 insertions, 0 deletions
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 @@ | |||
1 | module CommentsHelper | ||
2 | def show_comments(blog) | ||
3 | render "comments/layout", blog: blog | ||
4 | end | ||
5 | end | ||