diff options
author | Grzegorz Bizon <grzegorz.bizon@ntsn.pl> | 2015-11-23 23:25:49 +0300 |
---|---|---|
committer | Grzegorz Bizon <grzegorz.bizon@ntsn.pl> | 2015-12-08 10:43:09 +0300 |
commit | 360a96a299397cbb5f8b15f916a9efd5962ff6be (patch) | |
tree | 63b4917f1ba23cfd1112bdcf8195f49814c259d4 | |
parent | d835fbc79f6cd6f17fc7472af48074805622a573 (diff) |
Fix specs by adding forgotten instance variable
-rw-r--r-- | app/mailers/emails/projects.rb | 3 |
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, |