summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2016-06-12 19:13:14 -0700
committerStan Hu <stanhu@gmail.com>2016-06-12 19:29:58 -0700
commitc1f37964ed04e34fd8606d9b2a63f9d6798766f5 (patch)
treea26dfef2cfdc1d016d61c8e0da66a05806903cd0
parent8d243f9bdacea1909bf503eb715bd437c3b48aa7 (diff)
downloadgitlab-ce-fix-related-branches-error-500.tar.gz
Fix typo causing related branches to Error 500fix-related-branches-error-500
-rw-r--r--app/views/projects/issues/_related_branches.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/issues/_related_branches.html.haml b/app/views/projects/issues/_related_branches.html.haml
index b9bb6fe559d..c6fc499a7b8 100644
--- a/app/views/projects/issues/_related_branches.html.haml
+++ b/app/views/projects/issues/_related_branches.html.haml
@@ -6,7 +6,7 @@
%li
- sha = @project.repository.find_branch(branch).target
- pipeline = @project.pipeline(sha, branch) if sha
- - if ci_copipelinemmit
+ - if pipeline
%span.related-branch-ci-status
= render_pipeline_status(pipeline)
%span.related-branch-info