mirror of
https://github.com/flarum/framework.git
synced 2024-12-01 22:43:41 +08:00
parent
b791263702
commit
7a0923dce2
|
@ -8,7 +8,7 @@
|
||||||
@foreach ($apiDocument->data as $discussion)
|
@foreach ($apiDocument->data as $discussion)
|
||||||
<li>
|
<li>
|
||||||
<a href="{{ $url->to('forum')->route('discussion', [
|
<a href="{{ $url->to('forum')->route('discussion', [
|
||||||
'id' => $discussion->id . (trim($discussion->attributes->slug) ? '-' . $discussion->attributes->slug : '')
|
'id' => $discussion->attributes->slug
|
||||||
]) }}">
|
]) }}">
|
||||||
{{ $discussion->attributes->title }}
|
{{ $discussion->attributes->title }}
|
||||||
</a>
|
</a>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user