summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/views/notify/build_fail_email.html.haml2
-rw-r--r--app/views/notify/build_success_email.html.haml2
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)}