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
|
@ -69,7 +69,8 @@ module Banzai
|
|||
{ group: [:owners, :group_members] },
|
||||
:invited_groups,
|
||||
:project_members,
|
||||
:project_feature
|
||||
:project_feature,
|
||||
:route
|
||||
]
|
||||
}
|
||||
),
|
||||
|
|
Loading…
Reference in New Issue