diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2019-09-13 18:06:03 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2019-09-13 18:06:03 +0000 |
commit | 40d3d574132d2849646c20eb9d8742b159d9bfc8 (patch) | |
tree | 431dee6675639da4421dbb1d6f50b7734a3190c3 /app/mailers/emails | |
parent | 5939b09fd3db37ec98dfce0345162617d9d1d313 (diff) | |
download | gitlab-ce-40d3d574132d2849646c20eb9d8742b159d9bfc8.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/mailers/emails')
-rw-r--r-- | app/mailers/emails/notes.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/app/mailers/emails/notes.rb b/app/mailers/emails/notes.rb index c9a31b22207..51b6368a307 100644 --- a/app/mailers/emails/notes.rb +++ b/app/mailers/emails/notes.rb @@ -45,7 +45,11 @@ module Emails private def note_target_url_options - [@project || @group, @note.noteable, anchor: "note_#{@note.id}"] + [@project || @group, @note.noteable, note_target_url_query_params] + end + + def note_target_url_query_params + { anchor: "note_#{@note.id}" } end def note_thread_options(recipient_id, reason) |