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 Trzcinski <ayufan@ayufan.eu>2016-12-07 21:30:14 +0300
committerKamil Trzcinski <ayufan@ayufan.eu>2016-12-07 21:30:14 +0300
commit8842f55201ae4725b307336686f8ab168fa0effb (patch)
tree9fd3079231ad2258374e54e6ff26168e5809be43 /app/views/projects/pipelines/_graph.html.haml
parent93c72e0f71919968972e874519e01370edcce022 (diff)
Code review
Diffstat (limited to 'app/views/projects/pipelines/_graph.html.haml')
-rw-r--r--app/views/projects/pipelines/_graph.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/pipelines/_graph.html.haml b/app/views/projects/pipelines/_graph.html.haml
index 3bb6426c156..16297b93d31 100644
--- a/app/views/projects/pipelines/_graph.html.haml
+++ b/app/views/projects/pipelines/_graph.html.haml
@@ -1,4 +1,4 @@
+- pipeline = local_assigns.fetch(:pipeline)
.pipeline-visualization
%ul.stage-column-list
- - subject.stages.each do |stage|
- = render "projects/stage/graph", subject: stage
+ = render partial: "projects/stage/graph", collection: pipeline.stages, as: :stage