BigW Consortium Gitlab

Eager load project routes for issue references

This reduces the number of queries necessary when displaying the activity page of a group.
parent 265b1faf
...@@ -69,7 +69,8 @@ module Banzai ...@@ -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
] ]
} }
), ),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment