diff options
Diffstat (limited to 'lib/api/entities.rb')
-rw-r--r-- | lib/api/entities.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/entities.rb b/lib/api/entities.rb index aa91451c9f4..1e776fa0853 100644 --- a/lib/api/entities.rb +++ b/lib/api/entities.rb @@ -435,7 +435,7 @@ module API target_anchor = "note_#{todo.note_id}" if todo.note_id? Gitlab::Application.routes.url_helpers.public_send(target_url, - todo.project.namespace, todo.project, todo.target, anchor: target_anchor) + *todo.project, todo.target, anchor: target_anchor) end expose :body |