diff --git a/framework/core/src/Forum/Content/Index.php b/framework/core/src/Forum/Content/Index.php index 11b5a4b50..8818265c9 100644 --- a/framework/core/src/Forum/Content/Index.php +++ b/framework/core/src/Forum/Content/Index.php @@ -58,7 +58,7 @@ class Index $apiDocument = $this->getApiDocument($request->getAttribute('actor'), $params); - $document->content = $this->view->make('flarum.forum::frontend.content.index', compact('apiDocument', 'page', 'forum')); + $document->content = $this->view->make('flarum.forum::frontend.content.index', compact('apiDocument', 'page')); $document->payload['apiDocument'] = $apiDocument; return $document;