summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorubudzisz <ubudzisz@gmail.com>2016-07-07 13:27:01 +0200
committerubudzisz <ubudzisz@gmail.com>2016-07-18 12:39:24 +0200
commitaf1a6f0533854cca76d4b0bcf2059131a1bfd106 (patch)
tree13b7a25d4a4afe23d546f4a2c8ddf8bcb1098702 /app/views
parentbacd95810b33cde3f2f17e439b772ff10f49e3bb (diff)
downloadgitlab-ce-af1a6f0533854cca76d4b0bcf2059131a1bfd106.tar.gz
add try to title method
Diffstat (limited to 'app/views')
-rw-r--r--app/views/projects/builds/_sidebar.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/builds/_sidebar.html.haml b/app/views/projects/builds/_sidebar.html.haml
index aba09a37ac7..3fc1157ddcb 100644
--- a/app/views/projects/builds/_sidebar.html.haml
+++ b/app/views/projects/builds/_sidebar.html.haml
@@ -96,7 +96,7 @@
.title
Commit title
%p.build-light-text.append-bottom-0
- #{@build.commit.title}
+ #{@build.pipeline.commit.try(:title)}
- if @build.tags.any?
.block