Skip to content

Commit

Permalink
Fix specs by adding forgotten instance variable
Browse files Browse the repository at this point in the history
  • Loading branch information
grzesiek committed Dec 8, 2015
1 parent d835fbc commit 360a96a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/mailers/emails/projects.rb
Expand Up @@ -63,6 +63,9 @@ def repository_push_email(project_id, recipient, opts = {})
@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,
Expand Down

0 comments on commit 360a96a

Please sign in to comment.