1
0
mirror of https://github.com/flarum/core.git synced 2025-07-28 04:00:40 +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

@@ -54,7 +54,7 @@ export default class DiscussionPage extends mixin(Component, evented) {
params() {
return {
near: this.currentNear,
include: ['posts', 'posts.user']
include: ['posts', 'posts.user', 'posts.user.groups']
};
}