diff options
| author | Felipe Artur <felipefac@gmail.com> | 2016-05-17 21:41:53 -0500 |
|---|---|---|
| committer | Felipe Artur <felipefac@gmail.com> | 2016-05-17 21:41:53 -0500 |
| commit | 5bf49bb63d88b1cce2d9a44716b54acfa63ea657 (patch) | |
| tree | 7b9ed966e419661c219d2738e5645365c9b74fd4 /lib/api/helpers.rb | |
| parent | c9be74e24797c1dab5b443728349bb0c5ce969c3 (diff) | |
| download | gitlab-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.rb | 4 |
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 |
