Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre de La Morinerie <pierre@capitainetrain.com>2014-02-18 14:46:01 +0400
committerPierre de La Morinerie <pierre@capitainetrain.com>2014-03-03 19:58:44 +0400
commitedd6028bdb1f0e8ba6744540e9d3f324ab40126d (patch)
treeb8e7a69751e14c7d981c09c6dca896b5f862b1f4 /app/mailers/emails
parent7ba0b502d3e6fdc5efc5619d803a1b9fcf9db791 (diff)
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/emails')
-rw-r--r--app/mailers/emails/notes.rb2
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})"))