summaryrefslogtreecommitdiff
path: root/app/mailers/emails/notes.rb
diff options
context:
space:
mode:
authorDouwe Maan <douwe@selenight.nl>2017-06-28 14:57:00 -0500
committerDouwe Maan <douwe@selenight.nl>2017-06-28 18:50:16 -0500
commit299a612ec2b2f30c09132bd94ba10fbc221b7edd (patch)
treecb0ca7b931f8a486413411745f02b1cfac5f8c2d /app/mailers/emails/notes.rb
parent9f44687a14d57fec596b9736584bf8718df75a2e (diff)
downloadgitlab-ce-dm-project-path-helpers.tar.gz
Let namespace_project path/URL helpers take (*project) instead of (project.namespace, project)dm-project-path-helpers
Diffstat (limited to 'app/mailers/emails/notes.rb')
-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 00707a0023e..fd7cfb51f17 100644
--- a/app/mailers/emails/notes.rb
+++ b/app/mailers/emails/notes.rb
@@ -43,7 +43,7 @@ module Emails
private
def note_target_url_options
- [@project.namespace, @project, @note.noteable, anchor: "note_#{@note.id}"]
+ [*@project, @note.noteable, anchor: "note_#{@note.id}"]
end
def note_thread_options(recipient_id)