diff options
author | Pierre de La Morinerie <pierre@capitainetrain.com> | 2014-02-18 11:46:01 +0100 |
---|---|---|
committer | Pierre de La Morinerie <pierre@capitainetrain.com> | 2014-03-03 16:58:44 +0100 |
commit | edd6028bdb1f0e8ba6744540e9d3f324ab40126d (patch) | |
tree | b8e7a69751e14c7d981c09c6dca896b5f862b1f4 /app/mailers | |
parent | 7ba0b502d3e6fdc5efc5619d803a1b9fcf9db791 (diff) | |
download | gitlab-ce-edd6028bdb1f0e8ba6744540e9d3f324ab40126d.tar.gz |
Remove custom link to target in notification emails
Every email has a different way of showing a link to the discussion on
the website. We don't need this anymore, as we now have a standard
"View in GitLab" link in the footer of every email.
Diffstat (limited to 'app/mailers')
-rw-r--r-- | app/mailers/emails/notes.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/mailers/emails/notes.rb b/app/mailers/emails/notes.rb index 22c4ededf5f..ccbdadf010f 100644 --- a/app/mailers/emails/notes.rb +++ b/app/mailers/emails/notes.rb @@ -14,7 +14,7 @@ module Emails @note = Note.find(note_id) @issue = @note.noteable @project = @note.project - @target_url = project_issue_url(@project, @issue) + @target_url = project_issue_url(@project, @issue, anchor: "note_#{@note.id}") mail(from: sender(@note.author_id), to: recipient(recipient_id), subject: subject("#{@issue.title} (##{@issue.iid})")) |