diff options
author | Alex Sanford <alex.sanford1@gmail.com> | 2017-02-22 19:42:14 -0400 |
---|---|---|
committer | Clement Ho <clemmakesapps@gmail.com> | 2017-02-27 20:40:49 +0000 |
commit | 42e490ea90b85cd67b99cf9afe83a31887aeb8fb (patch) | |
tree | c86f054f4606099260e88bb64fb26b10001465eb /app/helpers/builds_helper.rb | |
parent | e051ef69e3adb5d8a06a5f7fb5719c7987fe4841 (diff) | |
download | gitlab-ce-42e490ea90b85cd67b99cf9afe83a31887aeb8fb.tar.gz |
Fix CSS classes
Diffstat (limited to 'app/helpers/builds_helper.rb')
-rw-r--r-- | app/helpers/builds_helper.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/app/helpers/builds_helper.rb b/app/helpers/builds_helper.rb index ff937b5ebd2..5ac3e66bb1f 100644 --- a/app/helpers/builds_helper.rb +++ b/app/helpers/builds_helper.rb @@ -15,4 +15,11 @@ module BuildsHelper log_state: @build.trace_with_state[:state].to_s } end + + def build_failed_issue_options + { + title: "Build Failed ##{@build.id}", + description: namespace_project_build_url(@project.namespace, @project, @build) + } + end end |