summaryrefslogtreecommitdiff
path: root/lib/api/helpers.rb
diff options
context:
space:
mode:
authorFelipe Artur <felipefac@gmail.com>2016-05-17 21:41:53 -0500
committerFelipe Artur <felipefac@gmail.com>2016-05-17 21:41:53 -0500
commit5bf49bb63d88b1cce2d9a44716b54acfa63ea657 (patch)
tree7b9ed966e419661c219d2738e5645365c9b74fd4 /lib/api/helpers.rb
parentc9be74e24797c1dab5b443728349bb0c5ce969c3 (diff)
downloadgitlab-ce-5bf49bb63d88b1cce2d9a44716b54acfa63ea657.tar.gz
Move note helper method to notes entity fileissue_17302
Diffstat (limited to 'lib/api/helpers.rb')
-rw-r--r--lib/api/helpers.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/api/helpers.rb b/lib/api/helpers.rb
index 1003b596aec..40c967453fb 100644
--- a/lib/api/helpers.rb
+++ b/lib/api/helpers.rb
@@ -397,9 +397,5 @@ module API
error!(errors[:access_level], 422) if errors[:access_level].any?
not_found!(errors)
end
-
- def noteable_ability_name(noteable)
- "read_#{noteable.class.to_s.underscore.downcase}".to_sym
- end
end
end