summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRickXing <oreofish@gmail.com>2012-05-17 14:30:24 +0800
committerRickXing <oreofish@gmail.com>2012-05-17 14:30:24 +0800
commit4c503be0f1cb1e092b243308ed83941638ac49c3 (patch)
treea7aea9a31b9d35b5de274f932d709dd528c8e54e
parentce2214a1f0f8ecc2cb9acb2d55b7824a8fe0b003 (diff)
downloadgitlab-ce-4c503be0f1cb1e092b243308ed83941638ac49c3.tar.gz
fix bug in mailer
-rw-r--r--app/views/notify/note_commit_email.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/notify/note_commit_email.html.haml b/app/views/notify/note_commit_email.html.haml
index c834f1ddfd7..99b89632ea4 100644
--- a/app/views/notify/note_commit_email.html.haml
+++ b/app/views/notify/note_commit_email.html.haml
@@ -5,7 +5,7 @@
%td{:align => "left", :style => "padding: 20px 0 0;"}
%h2{:style => "color:#646464; font-weight: bold; margin: 0; padding: 0; line-height: 26px; font-size: 18px; font-family: Helvetica, Arial, sans-serif; "}
New comment for commit
- = link_to truncate(@commit.id.to_s, :length => 16), project_commit_url(@commit.project, :id => @commit.id, :anchor => "note_#{@note.id}")
+ = link_to truncate(@commit.id.to_s, :length => 16), project_commit_url(@note.project, :id => @commit.id, :anchor => "note_#{@note.id}")
%td{:style => "font-size: 1px; line-height: 1px;", :width => "21"}
%tr
%td{:style => "font-size: 1px; line-height: 1px;", :width => "21"}