mirror of
https://github.com/flarum/framework.git
synced 2024-11-29 21:11:55 +08:00
parent
3d845d5730
commit
551ca23267
|
@ -90,6 +90,7 @@ class Discussion implements ContentInterface
|
|||
}
|
||||
|
||||
$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->payload['apiDocument'] = $apiDocument;
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user