Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKamil Trzciński <ayufan@ayufan.eu>2018-04-23 17:20:21 +0300
committerKamil Trzciński <ayufan@ayufan.eu>2018-04-23 17:20:21 +0300
commit2178bd5ff408a9a16549b90a6e1987afa32527b9 (patch)
tree5fffcd0c46df88e71d58df3103a1a22efda3b93f /app/controllers/projects/pipelines_controller.rb
parent551f8c4b1a04fc0d2c8246fae5782a0c121ddfc0 (diff)
Fix stage.json endpoint
Diffstat (limited to 'app/controllers/projects/pipelines_controller.rb')
-rw-r--r--app/controllers/projects/pipelines_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/projects/pipelines_controller.rb b/app/controllers/projects/pipelines_controller.rb
index ef699e885b8..160613ea5dc 100644
--- a/app/controllers/projects/pipelines_controller.rb
+++ b/app/controllers/projects/pipelines_controller.rb
@@ -106,7 +106,7 @@ class Projects::PipelinesController < Projects::ApplicationController
render json: StageSerializer
.new(project: @project, current_user: @current_user)
- .represent(@pipeline)
+ .represent(@stage, details: true)
end
def retry