mirror of
https://github.com/flarum/core.git
synced 2025-07-25 10:41:24 +02:00
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user