diff options
author | Jarka Kadlecová <jarka@gitlab.com> | 2018-06-13 18:11:10 +0200 |
---|---|---|
committer | Jarka Kadlecová <jarka@gitlab.com> | 2018-07-03 09:34:44 +0200 |
commit | 57a44f2da3d2a0b59209b6c2d653d04efd0d3d41 (patch) | |
tree | 37a3035e1f1411a16a989e8b22f20bb80c79cf6d /app/helpers | |
parent | 275fbf24b1810e2fbef92b6599d5372855b97b46 (diff) | |
download | gitlab-ce-57a44f2da3d2a0b59209b6c2d653d04efd0d3d41.tar.gz |
Support todos for epics backport
Diffstat (limited to 'app/helpers')
-rw-r--r-- | app/helpers/todos_helper.rb | 2 |
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? |