From 679dc282d3427d9b56fa25bb799eb6189c81f787 Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets Date: Fri, 20 Dec 2013 14:48:19 +0200 Subject: Fix links for GitLab CI emails Signed-off-by: Dmitriy Zaporozhets --- app/views/notify/build_fail_email.html.haml | 2 +- app/views/notify/build_success_email.html.haml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/notify/build_fail_email.html.haml b/app/views/notify/build_fail_email.html.haml index fba2c30..71e36e3 100644 --- a/app/views/notify/build_fail_email.html.haml +++ b/app/views/notify/build_fail_email.html.haml @@ -11,4 +11,4 @@ Author: #{@build.git_author_name} %p - Url: #{link_to(project_build_url(@build.project, @build), @build.short_sha)} + Url: #{link_to @build.short_sha, project_build_url(@build.project, @build)} diff --git a/app/views/notify/build_success_email.html.haml b/app/views/notify/build_success_email.html.haml index 8819325..9549408 100644 --- a/app/views/notify/build_success_email.html.haml +++ b/app/views/notify/build_success_email.html.haml @@ -11,4 +11,4 @@ Author: #{@build.git_author_name} %p - Url: #{link_to(project_build_url(@build.project, @build), @build.short_sha)} + Url: #{link_to @build.short_sha, project_build_url(@build.project, @build)} -- cgit v1.2.1