summaryrefslogtreecommitdiff
path: root/app/serializers
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2018-07-03 10:33:51 +0200
committerRémy Coutable <remy@rymai.me>2018-07-03 10:50:52 +0200
commit2b78f223123dbbeabafb8b5d07e367a5ebad4567 (patch)
tree1a82428f87b200efa4299963beafa0d9c0550b4e /app/serializers
parent48f4ccd31169555d66fed277f30f0001e9b18f4f (diff)
downloadgitlab-ce-2b78f223123dbbeabafb8b5d07e367a5ebad4567.tar.gz
Fix link to job when creating a new issue from a failed job
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'app/serializers')
-rw-r--r--app/serializers/build_details_entity.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/serializers/build_details_entity.rb b/app/serializers/build_details_entity.rb
index ca4480fe2b1..2de9624aed4 100644
--- a/app/serializers/build_details_entity.rb
+++ b/app/serializers/build_details_entity.rb
@@ -35,7 +35,7 @@ class BuildDetailsEntity < JobEntity
def build_failed_issue_options
{ title: "Job Failed ##{build.id}",
- description: "Job [##{build.id}](#{project_job_path(project, build)}) failed for #{build.sha}:\n" }
+ description: "Job [##{build.id}](#{project_job_url(project, build)}) failed for #{build.sha}:\n" }
end
def current_user