Commit 954968c6 authored by Yorick Peterse's avatar Yorick Peterse

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
{ group: [:owners, :group_members] },
:invited_groups,
: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