fixed wrong id being used in last post link
This commit is contained in:
parent
948e8fcee4
commit
7b2ef8e603
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@
|
||||||
<div class="forum__preview-avatar avatar avatar--border" style="background-image: url('{{ route('user.avatar', forum.lastPostUserId) }}')"></div>
|
<div class="forum__preview-avatar avatar avatar--border" style="background-image: url('{{ route('user.avatar', forum.lastPostUserId) }}')"></div>
|
||||||
<div class="forum__preview-info">
|
<div class="forum__preview-info">
|
||||||
<div class="forum__preview-info-row">
|
<div class="forum__preview-info-row">
|
||||||
<a class="forum__post-link" href="{{ route('forums.post', forum.lastPostUserId) }}">
|
<a class="forum__post-link" href="{{ route('forums.post', forum.lastPostId) }}">
|
||||||
{{ forum.lastPostTitle|slice(0, 30)|trim }}{% if forum.lastPostTitle|length > 30 %}...{% endif %}
|
{{ forum.lastPostTitle|slice(0, 30)|trim }}{% if forum.lastPostTitle|length > 30 %}...{% endif %}
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
Reference in a new issue