Skip to content

Commit 1845bd6

Browse files
committed
Correct wrong controller
1 parent 874e00d commit 1845bd6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

extend.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
namespace FoF\FrontPage;
1313

14-
use Flarum\Api\Controller\ShowForumController;
14+
use Flarum\Api\Controller\ListDiscussionsController;
1515
use Flarum\Api\Serializer\DiscussionSerializer;
1616
use Flarum\Discussion\Discussion;
1717
use Flarum\Discussion\Event\Saving;
@@ -37,6 +37,6 @@
3737
(new Extend\ApiSerializer(DiscussionSerializer::class))
3838
->mutate(Listeners\AddApiAttributes::class),
3939

40-
(new Extend\ApiController(ShowForumController::class))
40+
(new Extend\ApiController(ListDiscussionsController::class))
4141
->addSortField('frontdate'),
4242
];

0 commit comments

Comments
 (0)