diff options
author | Douwe Maan <douwe@selenight.nl> | 2017-06-28 14:57:00 -0500 |
---|---|---|
committer | Douwe Maan <douwe@selenight.nl> | 2017-06-28 18:50:16 -0500 |
commit | 299a612ec2b2f30c09132bd94ba10fbc221b7edd (patch) | |
tree | cb0ca7b931f8a486413411745f02b1cfac5f8c2d /lib/api/entities.rb | |
parent | 9f44687a14d57fec596b9736584bf8718df75a2e (diff) | |
download | gitlab-ce-dm-project-path-helpers.tar.gz |
Let namespace_project path/URL helpers take (*project) instead of (project.namespace, project)dm-project-path-helpers
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 |