summaryrefslogtreecommitdiff
path: root/app/controllers/projects
diff options
context:
space:
mode:
authorKamil Trzciński <ayufan@ayufan.eu>2018-04-23 16:20:21 +0200
committerKamil Trzciński <ayufan@ayufan.eu>2018-04-23 16:20:21 +0200
commit2178bd5ff408a9a16549b90a6e1987afa32527b9 (patch)
tree5fffcd0c46df88e71d58df3103a1a22efda3b93f /app/controllers/projects
parent551f8c4b1a04fc0d2c8246fae5782a0c121ddfc0 (diff)
downloadgitlab-ce-2178bd5ff408a9a16549b90a6e1987afa32527b9.tar.gz
Fix stage.json endpoint
Diffstat (limited to 'app/controllers/projects')
-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