summaryrefslogtreecommitdiff
path: root/app/helpers
diff options
context:
space:
mode:
authorJarka Kadlecová <jarka@gitlab.com>2018-06-13 18:11:10 +0200
committerJarka Kadlecová <jarka@gitlab.com>2018-07-03 09:34:44 +0200
commit57a44f2da3d2a0b59209b6c2d653d04efd0d3d41 (patch)
tree37a3035e1f1411a16a989e8b22f20bb80c79cf6d /app/helpers
parent275fbf24b1810e2fbef92b6599d5372855b97b46 (diff)
downloadgitlab-ce-57a44f2da3d2a0b59209b6c2d653d04efd0d3d41.tar.gz
Support todos for epics backport
Diffstat (limited to 'app/helpers')
-rw-r--r--app/helpers/todos_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/todos_helper.rb b/app/helpers/todos_helper.rb
index f7620e0b6b8..7d78ceb1f9a 100644
--- a/app/helpers/todos_helper.rb
+++ b/app/helpers/todos_helper.rb
@@ -43,7 +43,7 @@ module TodosHelper
project_commit_path(todo.project,
todo.target, anchor: anchor)
else
- path = [todo.project.namespace.becomes(Namespace), todo.project, todo.target]
+ path = [todo.parent, todo.target]
path.unshift(:pipelines) if todo.build_failed?