We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 874e00d commit 1845bd6Copy full SHA for 1845bd6
extend.php
@@ -11,7 +11,7 @@
11
12
namespace FoF\FrontPage;
13
14
-use Flarum\Api\Controller\ShowForumController;
+use Flarum\Api\Controller\ListDiscussionsController;
15
use Flarum\Api\Serializer\DiscussionSerializer;
16
use Flarum\Discussion\Discussion;
17
use Flarum\Discussion\Event\Saving;
@@ -37,6 +37,6 @@
37
(new Extend\ApiSerializer(DiscussionSerializer::class))
38
->mutate(Listeners\AddApiAttributes::class),
39
40
- (new Extend\ApiController(ShowForumController::class))
+ (new Extend\ApiController(ListDiscussionsController::class))
41
->addSortField('frontdate'),
42
];
0 commit comments