diff options
author | Gosia Ksionek <mksionek@gitlab.com> | 2019-08-06 00:15:00 +0300 |
---|---|---|
committer | Mayra Cabrera <mcabrera@gitlab.com> | 2019-08-06 00:15:00 +0300 |
commit | 6c5e9480130308abf9458f1ac58e25695c5ce2ea (patch) | |
tree | 12734828967ba9637d7f87cff3097a4e48cd1b30 /app/serializers/analytics_issue_entity.rb | |
parent | 1dfbb27f6e8d01023564eededff2a0ba1a04badc (diff) |
Fix error on project name
Add project path to sql query to build proper path
Diffstat (limited to 'app/serializers/analytics_issue_entity.rb')
-rw-r--r-- | app/serializers/analytics_issue_entity.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/serializers/analytics_issue_entity.rb b/app/serializers/analytics_issue_entity.rb index 29d4a6ae1d0..307ce14a921 100644 --- a/app/serializers/analytics_issue_entity.rb +++ b/app/serializers/analytics_issue_entity.rb @@ -26,6 +26,6 @@ class AnalyticsIssueEntity < Grape::Entity private def url_to(route, object) - public_send("#{route}_url", object[:path], object[:name], object[:iid].to_s) # rubocop:disable GitlabSecurity/PublicSend + public_send("#{route}_url", object[:namespace_path], object[:project_path], object[:iid].to_s) # rubocop:disable GitlabSecurity/PublicSend end end |