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
6c94adea
Commit
6c94adea
authored
Nov 03, 2016
by
Grzegorz Bizon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove project entity that was part of the PoC
parent
c3dae798
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
11 deletions
+1
-11
app/serializers/environment_entity.rb
app/serializers/environment_entity.rb
+1
-1
app/serializers/project_entity.rb
app/serializers/project_entity.rb
+0
-10
No files found.
app/serializers/environment_entity.rb
View file @
6c94adea
...
...
@@ -6,7 +6,7 @@ class EnvironmentEntity < Grape::Entity
expose
:state
expose
:external_url
expose
:environment_type
expose
:project
,
with:
ProjectEntity
expose
:project
,
with:
API
::
Entities
::
BasicProjectDetails
expose
:last_deployment
,
using:
DeploymentEntity
expose
:stoppable?
...
...
app/serializers/project_entity.rb
deleted
100644 → 0
View file @
c3dae798
class
ProjectEntity
<
Grape
::
Entity
include
RequestAwareEntity
expose
:id
expose
:name
expose
:test
do
|
project
|
request
.
user
.
email
end
end
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