We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f58a21e commit 22246fbCopy full SHA for 22246fb
extend.php
@@ -20,9 +20,9 @@ function (Document $document, Request $request) {
20
// Add the discussion content to the document so that the
21
// payload will be included on the page and the JS app will be
22
// able to render the discussion immediately.
23
- app(Flarum\Forum\Content\Discussion::class)($document, $request);
+ resolve(Flarum\Forum\Content\Discussion::class)($document, $request);
24
25
- app(Flarum\Frontend\Content\Assets::class)->forFrontend('embed')($document, $request);
+ resolve(Flarum\Frontend\Content\Assets::class)->forFrontend('embed')($document, $request);
26
}
27
),
28
0 commit comments