summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJB Vasseur <jvasseur@gmail.com>2018-10-12 09:41:36 +0900
committerJB Vasseur <jvasseur@gmail.com>2018-10-12 09:41:36 +0900
commit1dbbd0b9b01050ef929780474153dfc57a57efdc (patch)
treec639c6fd951780494aacc5873dec5099f230c363 /lib
parent23d70f6281f7c099ff7ce5b9abe40d7afd5ab668 (diff)
downloadgitlab-ce-1dbbd0b9b01050ef929780474153dfc57a57efdc.tar.gz
disable CodeReuse/ActiveRecord
Diffstat (limited to 'lib')
-rw-r--r--lib/api/applications.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/api/applications.rb b/lib/api/applications.rb
index 8d83684e3a9..048e7bc81f9 100644
--- a/lib/api/applications.rb
+++ b/lib/api/applications.rb
@@ -25,6 +25,7 @@ module API
end
end
+ # rubocop: disable CodeReuse/ActiveRecord
desc 'Get applications' do
success Entities::ApplicationWithSecret
end
@@ -32,6 +33,7 @@ module API
applications = Doorkeeper::Application.where("owner_id IS NULL")
present applications, with: Entities::Application
end
+ # rubocop: enable CodeReuse/ActiveRecord
# rubocop: disable CodeReuse/ActiveRecord
desc 'Delete an application'