summaryrefslogtreecommitdiff
path: root/lib/api/helpers
diff options
context:
space:
mode:
authorKamil Trzciński <ayufan@ayufan.eu>2019-08-23 17:21:19 +0000
committerKamil Trzciński <ayufan@ayufan.eu>2019-08-23 17:21:19 +0000
commit99e8b77e5eaa8bd60c02935ee5baaebf31bc645a (patch)
tree2ca417c5d13237365f955e3036de296d5691a01e /lib/api/helpers
parent8f797950e8e5f92da800d67444a1f67bb6078f21 (diff)
parente24b9c2502613cc0df5b2a676236d1c36c02bca4 (diff)
downloadgitlab-ce-99e8b77e5eaa8bd60c02935ee5baaebf31bc645a.tar.gz
Merge branch 'sh-eliminate-gitaly-nplus-one-notes' into 'master'
Eliminate Gitaly N+1 queries with notes API See merge request gitlab-org/gitlab-ce!32089
Diffstat (limited to 'lib/api/helpers')
-rw-r--r--lib/api/helpers/notes_helpers.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/api/helpers/notes_helpers.rb b/lib/api/helpers/notes_helpers.rb
index 6bf9057fad7..b2bf6bf7417 100644
--- a/lib/api/helpers/notes_helpers.rb
+++ b/lib/api/helpers/notes_helpers.rb
@@ -3,6 +3,8 @@
module API
module Helpers
module NotesHelpers
+ include ::RendersNotes
+
def self.noteable_types
# This is a method instead of a constant, allowing EE to more easily
# extend it.