diff --git a/resources/views/post/list.blade.php b/resources/views/post/list.blade.php index b7574b26..ea0626fa 100644 --- a/resources/views/post/list.blade.php +++ b/resources/views/post/list.blade.php @@ -80,7 +80,7 @@ class="position-absolute start-0 end-0 top-0 bottom-0 z-2"> + href="{{ route('post.show', [$post, '#comments-frame']) }}"> @if($post->comments_count > 0) {{ $post->comments_count }} diff --git a/resources/views/post/show.blade.php b/resources/views/post/show.blade.php index 4bb1b5c3..96b2362b 100644 --- a/resources/views/post/show.blade.php +++ b/resources/views/post/show.blade.php @@ -73,7 +73,7 @@ class="position-absolute top-0 end-0 m-4 btn btn-link link-secondary text-decora + href="{{ route('post.show', [$post, '#comments-frame']) }}"> {{ $post->comments_count }}