summaryrefslogtreecommitdiff
path: root/lib/api/notes.rb
diff options
context:
space:
mode:
authorZ.J. van de Weg <zegerjan@gitlab.com>2016-06-10 08:57:56 +0200
committerZ.J. van de Weg <zegerjan@gitlab.com>2016-06-17 20:08:16 +0200
commit34558315d9deb305b062b825a9a1821ee17352cc (patch)
tree8695f30cce318af10649689d81b79e05bc261554 /lib/api/notes.rb
parent3f88221c2dcb1c42cc2f5a765d2586f1755128c3 (diff)
downloadgitlab-ce-34558315d9deb305b062b825a9a1821ee17352cc.tar.gz
Sort API endpoints and implement feedback
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 d4fcfd3d4d3..8bfa998dc53 100644
--- a/lib/api/notes.rb
+++ b/lib/api/notes.rb
@@ -144,7 +144,7 @@ module API
helpers do
def noteable_read_ability_name(noteable)
- "read_#{noteable.class.to_s.underscore.downcase}".to_sym
+ "read_#{noteable.class.to_s.underscore}".to_sym
end
end
end