Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion resources/views/post/list.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ class="position-absolute start-0 end-0 top-0 bottom-0 z-2"></a>
<x-like :model="$post"/>

<a class="d-flex align-items-center text-body-secondary text-decoration-none me-4"
href="{{ route('post.show', $post) }}">
href="{{ route('post.show', [$post, '#comments-frame']) }}">
<x-icon path="i.comment"/>
@if($post->comments_count > 0)
<span class="ms-2">{{ $post->comments_count }}</span>
Expand Down
2 changes: 1 addition & 1 deletion resources/views/post/show.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ class="position-absolute top-0 end-0 m-4 btn btn-link link-secondary text-decora
<x-like :model="$post"/>

<a class="d-flex align-items-center text-body-secondary text-decoration-none me-4"
href="{{ route('post.show', $post) }}">
href="{{ route('post.show', [$post, '#comments-frame']) }}">
<x-icon path="i.comment"/>
<span class="ms-2">{{ $post->comments_count }}</span>
</a>
Expand Down
Loading