summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzegorz@gitlab.com>2017-07-21 09:49:47 +0000
committerGrzegorz Bizon <grzegorz@gitlab.com>2017-07-21 09:49:47 +0000
commitcfba167694e809c135365d3f3ee710402129c7dc (patch)
tree2516aaa28d533f1341527403f0427245015cff68 /app/views
parenteaceee0fb9e23982571c9c2a878d662ba241240e (diff)
parent82260504e1a0621aa709e8f6c94ec1db05862f1b (diff)
downloadgitlab-ce-cfba167694e809c135365d3f3ee710402129c7dc.tar.gz
Merge branch 'fix/sm/32790-pipeline_schedules-pages-throwing-error-500' into 'master'
Follow-up from "Resolve "pipeline_schedules pages throwing error 500"" Closes #35345, #32790, and #34652 See merge request !12983
Diffstat (limited to 'app/views')
-rw-r--r--app/views/projects/pipeline_schedules/_pipeline_schedule.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/pipeline_schedules/_pipeline_schedule.html.haml b/app/views/projects/pipeline_schedules/_pipeline_schedule.html.haml
index 97c0407a01d..7343d6e039c 100644
--- a/app/views/projects/pipeline_schedules/_pipeline_schedule.html.haml
+++ b/app/views/projects/pipeline_schedules/_pipeline_schedule.html.haml
@@ -4,7 +4,7 @@
= pipeline_schedule.description
%td.branch-name-cell
= icon('code-fork')
- - if pipeline_schedule.ref
+ - if pipeline_schedule.ref.present?
= link_to pipeline_schedule.ref, project_ref_path(@project, pipeline_schedule.ref), class: "ref-name"
%td
- if pipeline_schedule.last_pipeline