1
0
mirror of https://github.com/flarum/core.git synced 2025-08-21 15:52:44 +02:00
This commit is contained in:
Franz Liedke
2018-02-11 16:41:23 +01:00
parent ab9877cc3b
commit 4bede59dfc

View File

@@ -64,7 +64,7 @@ class AddForumTagsRelationship
public function loadTagsRelationship(WillSerializeData $event)
{
// Expose the complete tag list to clients by adding it as a
// relationship to the /api/forum endpoint. Since the Forum model
// relationship to the /api endpoint. Since the Forum model
// doesn't actually have a tags relationship, we will manually load and
// assign the tags data to it using an event listener.
if ($event->isController(ShowForumController::class)) {