mirror of
https://github.com/flarum/core.git
synced 2025-08-05 16:07:34 +02:00
chore
This commit is contained in:
@@ -209,6 +209,7 @@ class DiscussionResource extends AbstractDatabaseResource
|
||||
return $context->showing(self::class);
|
||||
})
|
||||
->includable()
|
||||
// @todo: remove this, and send a second request from the frontend to /posts instead. Revert Serializer::addIncluded while you're at it.
|
||||
->get(function (Discussion $discussion, Context $context) {
|
||||
$showingDiscussion = $context->showing(self::class);
|
||||
|
||||
|
Reference in New Issue
Block a user