diff options
author | Douwe Maan <douwe@selenight.nl> | 2017-02-21 18:51:36 -0600 |
---|---|---|
committer | Douwe Maan <douwe@selenight.nl> | 2017-02-23 09:31:57 -0600 |
commit | 7ea641b6d0882fc782a7eb493daf8b66d076924b (patch) | |
tree | af94a52d4eae88b2bfd65f7c7f71a8e457defaad /lib/api/notes.rb | |
parent | b2da4623089e4c7c53526436bd7c0a8f516910a3 (diff) | |
download | gitlab-ce-7ea641b6d0882fc782a7eb493daf8b66d076924b.tar.gz |
Enable Style/ColonMethodCall
Diffstat (limited to 'lib/api/notes.rb')
-rw-r--r-- | lib/api/notes.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/notes.rb b/lib/api/notes.rb index c680b77f3d9..f559a7f74a0 100644 --- a/lib/api/notes.rb +++ b/lib/api/notes.rb @@ -85,7 +85,7 @@ module API note = ::Notes::CreateService.new(user_project, current_user, opts).execute if note.valid? - present note, with: Entities::const_get(note.class.name) + present note, with: Entities.const_get(note.class.name) else not_found!("Note #{note.errors.messages}") end |