mirror of
https://github.com/flarum/framework.git
synced 2024-12-01 22:43:41 +08:00
parent
3d845d5730
commit
551ca23267
|
@ -90,6 +90,7 @@ class Discussion implements ContentInterface
|
||||||
}
|
}
|
||||||
|
|
||||||
$document->title = $apiDocument->data->attributes->title;
|
$document->title = $apiDocument->data->attributes->title;
|
||||||
|
$document->canonicalUrl = $url([]);
|
||||||
$document->content = $this->view->make('flarum.forum::frontend.content.discussion', compact('apiDocument', 'page', 'getResource', 'posts', 'url'));
|
$document->content = $this->view->make('flarum.forum::frontend.content.discussion', compact('apiDocument', 'page', 'getResource', 'posts', 'url'));
|
||||||
$document->payload['apiDocument'] = $apiDocument;
|
$document->payload['apiDocument'] = $apiDocument;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user