summaryrefslogtreecommitdiff
path: root/app/mailers
diff options
context:
space:
mode:
Diffstat (limited to 'app/mailers')
-rw-r--r--app/mailers/emails/projects.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/mailers/emails/projects.rb b/app/mailers/emails/projects.rb
index 35015ca34f8..b96418679bd 100644
--- a/app/mailers/emails/projects.rb
+++ b/app/mailers/emails/projects.rb
@@ -63,6 +63,9 @@ module Emails
@message =
Gitlab::Email::Message::RepositoryPush.new(self, project_id, recipient, opts)
+ # used in notify layout
+ @target_url = @message.target_url
+
mail(from: sender(@message.author_id, @message.send_from_committer_email?),
reply_to: @message.reply_to,
to: @message.recipient,