Skip to content

Commit

Permalink
Fix thread link on home page
Browse files Browse the repository at this point in the history
  • Loading branch information
0x1DEA committed Nov 27, 2023
1 parent a4a7d03 commit c7e6f60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/js/Pages/Home.vue
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const props = defineProps({
</div>
<h2 class="font-bold text-2xl">Recent Forum Posts</h2>
<div class="pane y !p-0 divide-y divide-ui-800">
<Link v-for="post in recent_posts" :href="route('threads.show', post.thread.id)" class="x px-4 py-2 items-center justify-between">
<Link v-for="post in recent_posts" :href="route('threads.show', post.thread.slug)" class="x px-4 py-2 items-center justify-between">
<span class="y">
<span class="font-bold">{{ post.thread.title }}</span>
<Username class="text-sm" :user="post.thread.author"/>
Expand Down

0 comments on commit c7e6f60

Please sign in to comment.