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
Léo-Paul Géneau
gitlab-ce
Commits
b33fd0ab
Commit
b33fd0ab
authored
8 years ago
by
Grzegorz Bizon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix detailed status for pipeline stage entity
parent
ccea4727
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
app/serializers/pipeline_stage_entity.rb
app/serializers/pipeline_stage_entity.rb
+5
-1
No files found.
app/serializers/pipeline_stage_entity.rb
View file @
b33fd0ab
...
@@ -2,7 +2,11 @@ class PipelineStageEntity < Grape::Entity
...
@@ -2,7 +2,11 @@ class PipelineStageEntity < Grape::Entity
include
RequestAwareEntity
include
RequestAwareEntity
expose
:name
expose
:name
expose
:detailed_status
,
as: :status
,
using:
StatusEntity
expose
:status
do
|
stage
,
options
|
StatusEntity
.
represent
(
stage
.
detailed_status
(
request
.
user
),
options
)
end
expose
:path
do
|
stage
|
expose
:path
do
|
stage
|
namespace_project_pipeline_path
(
namespace_project_pipeline_path
(
...
...
This diff is collapsed.
Click to expand it.
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