summaryrefslogtreecommitdiff
path: root/app/views/projects
diff options
context:
space:
mode:
authorShinya Maeda <shinya@gitlab.com>2017-07-20 16:23:40 +0900
committerShinya Maeda <shinya@gitlab.com>2017-07-20 16:23:40 +0900
commit92d9053a1edab94f56f6e653f26f19d37a8308c6 (patch)
tree68f6bcf791d3c7a2f0e3fdb2fc62cb10528f1491 /app/views/projects
parent1540cc434b66e32f723fff5de3fbc2f7e9480e0b (diff)
downloadgitlab-ce-92d9053a1edab94f56f6e653f26f19d37a8308c6.tar.gz
Add present?
Diffstat (limited to 'app/views/projects')
-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