diff options
author | ubudzisz <ubudzisz@gmail.com> | 2016-07-07 13:27:01 +0200 |
---|---|---|
committer | ubudzisz <ubudzisz@gmail.com> | 2016-07-18 12:39:24 +0200 |
commit | af1a6f0533854cca76d4b0bcf2059131a1bfd106 (patch) | |
tree | 13b7a25d4a4afe23d546f4a2c8ddf8bcb1098702 /app/views | |
parent | bacd95810b33cde3f2f17e439b772ff10f49e3bb (diff) | |
download | gitlab-ce-af1a6f0533854cca76d4b0bcf2059131a1bfd106.tar.gz |
add try to title method
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/projects/builds/_sidebar.html.haml | 2 |
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 |