summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-12-06 13:20:46 +0100
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-12-06 13:20:46 +0100
commita62e5219a56e24cefef09b4466cbe42882098220 (patch)
tree28fe44659157d3413c864f2066c2ef0293723875
parentbdd6b841b0369fcadbcd375905c37476415fa100 (diff)
downloadgitlab-ce-a62e5219a56e24cefef09b4466cbe42882098220.tar.gz
Fix exception related to pipeline stages in view
-rw-r--r--app/views/projects/pipelines/_with_tabs.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/pipelines/_with_tabs.html.haml b/app/views/projects/pipelines/_with_tabs.html.haml
index 3464e155a1b..ac139797a89 100644
--- a/app/views/projects/pipelines/_with_tabs.html.haml
+++ b/app/views/projects/pipelines/_with_tabs.html.haml
@@ -50,5 +50,5 @@
- if pipeline.project.build_coverage_enabled?
%th Coverage
%th
- - pipeline.statuses.relevant.stages.each do |stage|
+ - pipeline.stages.each do |stage|
= render 'projects/commit/ci_stage', stage: stage, statuses: pipeline.statuses.relevant.where(stage: stage)