Eager load project routes for issue references
This reduces the number of queries necessary when displaying the activity page of a group.
This commit is contained in:
parent
265b1fafe6
commit
954968c684
1 changed files with 2 additions and 1 deletions
|
@ -69,7 +69,8 @@ module Banzai
|
||||||
{ group: [:owners, :group_members] },
|
{ group: [:owners, :group_members] },
|
||||||
:invited_groups,
|
:invited_groups,
|
||||||
:project_members,
|
:project_members,
|
||||||
:project_feature
|
:project_feature,
|
||||||
|
:route
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
),
|
),
|
||||||
|
|
Loading…
Reference in a new issue