From 6fcf8a8a8ef9ea460ad61929013c713e3bba068a Mon Sep 17 00:00:00 2001 From: AhmedRamadan30 <56490896+AhmedRamadan30@users.noreply.github.com> Date: Thu, 5 Aug 2021 18:10:02 +0200 Subject: [PATCH] Nested replies fixing nested replies --- resources/views/show.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/show.blade.php b/resources/views/show.blade.php index 982e927..54f7543 100644 --- a/resources/views/show.blade.php +++ b/resources/views/show.blade.php @@ -17,7 +17,7 @@


Display Comments

- @include('partials._comment_replies', ['comments' => $post->comments, 'post_id' => $post->id]) + @include('partials._comment_replies', ['comments' => $post->comments()->where('parent_id', null)->get(), 'post_id' => $post->id])

Add comment