summaryrefslogtreecommitdiff
path: root/app/views/layouts/notify.html.haml
diff options
context:
space:
mode:
authorMarin Jankovski <maxlazio@gmail.com>2014-11-12 11:59:57 +0100
committerMarin Jankovski <maxlazio@gmail.com>2014-11-12 11:59:57 +0100
commit857852ce048607a0898a9b40e04fdb0658b6a83d (patch)
treec30c5c9a89ce08954a4526b2ad6089fbc5c0ecf4 /app/views/layouts/notify.html.haml
parentd65f2bad6c7f834b708886f1ee8160a67281638d (diff)
downloadgitlab-ce-857852ce048607a0898a9b40e04fdb0658b6a83d.tar.gz
Set action on issue/mr creation mail.
Diffstat (limited to 'app/views/layouts/notify.html.haml')
-rw-r--r--app/views/layouts/notify.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/layouts/notify.html.haml b/app/views/layouts/notify.html.haml
index 1236cf00f01..da451961327 100644
--- a/app/views/layouts/notify.html.haml
+++ b/app/views/layouts/notify.html.haml
@@ -28,4 +28,4 @@
You're receiving this notification because you are a member of the #{link_to_unless @target_url, @project.name_with_namespace, project_url(@project)} project team.
- if @target_url
#{link_to "View it on GitLab", @target_url}
- = email_action name: "View #{@note.noteable_type.underscore.humanize}", url: @target_url
+ = email_action @target_url