summaryrefslogtreecommitdiff
path: root/lib/api/notes.rb
diff options
context:
space:
mode:
authorRobert Speicher <robert@gitlab.com>2017-08-08 19:31:24 +0000
committerRobert Speicher <robert@gitlab.com>2017-08-08 19:31:24 +0000
commit85c38ddb1dbe56de87d8e98b1cfdd76a0c67838a (patch)
tree90b319cc31dc7b22e989e7c160bab4131cdb2c36 /lib/api/notes.rb
parentb9da47d3b2c376ef8d0f6a951c0256bbc58b2854 (diff)
parent9770c57fab0315865a33c8b6df269eded0d57b5c (diff)
downloadgitlab-ce-85c38ddb1dbe56de87d8e98b1cfdd76a0c67838a.tar.gz
Merge branch 'add-rubocop-gitlab-security' into 'master'
Add rubocop-gitlab-security gem See merge request !12177
Diffstat (limited to 'lib/api/notes.rb')
-rw-r--r--lib/api/notes.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/notes.rb b/lib/api/notes.rb
index 65ff89edf65..4e4e473994b 100644
--- a/lib/api/notes.rb
+++ b/lib/api/notes.rb
@@ -139,7 +139,7 @@ module API
helpers do
def find_project_noteable(noteables_str, noteable_id)
- public_send("find_project_#{noteables_str.singularize}", noteable_id)
+ public_send("find_project_#{noteables_str.singularize}", noteable_id) # rubocop:disable GitlabSecurity/PublicSend
end
def noteable_read_ability_name(noteable)