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:
Diffstat (limited to 'app/mailers')
-rw-r--r--app/mailers/emails/notes.rb6
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)