1
0
mirror of https://github.com/flarum/core.git synced 2025-10-10 22:44:25 +02:00

Remove default relationships from serializers

This commit is contained in:
Toby Zerner
2015-06-01 12:24:06 +09:30
parent 7a35f5faf6
commit 0f9549f4b9
7 changed files with 5 additions and 40 deletions

View File

@@ -51,7 +51,7 @@ class ShowAction extends SerializeResourceAction
*
* @var array
*/
public static $link = ['posts'];
public static $link = ['posts', 'posts.discussion'];
/**
* The fields that are available to be sorted by.