diff options
author | Rémy Coutable <remy@rymai.me> | 2017-05-03 13:02:49 +0300 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2017-05-03 13:02:49 +0300 |
commit | d811004d023cee1ae5cbcb5792faca34b30336a3 (patch) | |
tree | 227de924c080ef082557e094509c76c8f0ee490f /lib | |
parent | 6201f4c2b59748f14c4899af7077aee1cf751f04 (diff) | |
parent | 52d049b4f82b1a3ed358188e02ab3518e5eae5fa (diff) |
Merge branch 'fix-n-plus-one-project-features' into 'master'
Remove N+1 queries when checking nodes visible to user
See merge request !11040
Diffstat (limited to 'lib')
-rw-r--r-- | lib/banzai/reference_parser/merge_request_parser.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/banzai/reference_parser/merge_request_parser.rb b/lib/banzai/reference_parser/merge_request_parser.rb index 84a28b33d7c..8b0662749fd 100644 --- a/lib/banzai/reference_parser/merge_request_parser.rb +++ b/lib/banzai/reference_parser/merge_request_parser.rb @@ -33,7 +33,8 @@ module Banzai { namespace: :owner }, { group: [:owners, :group_members] }, :invited_groups, - :project_members + :project_members, + :project_feature ] }), self.class.data_attribute |