Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
1dbbd0b9
Commit
1dbbd0b9
authored
Oct 12, 2018
by
JB Vasseur
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
disable CodeReuse/ActiveRecord
parent
23d70f62
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
lib/api/applications.rb
lib/api/applications.rb
+2
-0
No files found.
lib/api/applications.rb
View file @
1dbbd0b9
...
@@ -25,6 +25,7 @@ module API
...
@@ -25,6 +25,7 @@ module API
end
end
end
end
# rubocop: disable CodeReuse/ActiveRecord
desc
'Get applications'
do
desc
'Get applications'
do
success
Entities
::
ApplicationWithSecret
success
Entities
::
ApplicationWithSecret
end
end
...
@@ -32,6 +33,7 @@ module API
...
@@ -32,6 +33,7 @@ module API
applications
=
Doorkeeper
::
Application
.
where
(
"owner_id IS NULL"
)
applications
=
Doorkeeper
::
Application
.
where
(
"owner_id IS NULL"
)
present
applications
,
with:
Entities
::
Application
present
applications
,
with:
Entities
::
Application
end
end
# rubocop: enable CodeReuse/ActiveRecord
# rubocop: disable CodeReuse/ActiveRecord
# rubocop: disable CodeReuse/ActiveRecord
desc
'Delete an application'
desc
'Delete an application'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment