summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 04db1980b99..d728a43fd15 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)