From fd2ce241497eac5ddb1f7e303109211ddbeec9db Mon Sep 17 00:00:00 2001 From: Lin Jen-Shin Date: Mon, 26 Sep 2016 16:39:03 +0800 Subject: [PATCH] We need to use URL in the email --- app/views/notify/pipeline_failed_email.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/notify/pipeline_failed_email.html.haml b/app/views/notify/pipeline_failed_email.html.haml index 76d45efd6f7..da28b4c30cd 100644 --- a/app/views/notify/pipeline_failed_email.html.haml +++ b/app/views/notify/pipeline_failed_email.html.haml @@ -124,7 +124,7 @@ %span = commit.author_name - else - %a.muted{:href => user_path(commit.author), :style => "color:#333333;text-decoration:none;"} + %a.muted{:href => user_url(commit.author), :style => "color:#333333;text-decoration:none;"} = commit.author.try(:name) || commit.author_name %tr.spacer %td{:style => "font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;height:18px;font-size:18px;line-height:18px;"}