diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-12-07 21:30:14 +0300 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-12-07 21:30:14 +0300 |
commit | 8842f55201ae4725b307336686f8ab168fa0effb (patch) | |
tree | 9fd3079231ad2258374e54e6ff26168e5809be43 /app/views/projects/pipelines/_graph.html.haml | |
parent | 93c72e0f71919968972e874519e01370edcce022 (diff) |
Code review
Diffstat (limited to 'app/views/projects/pipelines/_graph.html.haml')
-rw-r--r-- | app/views/projects/pipelines/_graph.html.haml | 4 |
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 |