Pass correct param to notification email views

This commit is contained in:
Toby Zerner 2015-07-23 16:39:56 +09:30
parent 52c9539be3
commit c8e6fbc338

View File

@ -27,7 +27,7 @@ class NotificationMailer
{ {
$this->mailer->send( $this->mailer->send(
$blueprint->getEmailView(), $blueprint->getEmailView(),
compact('notification', 'user'), compact('blueprint', 'user'),
function (Message $message) use ($blueprint, $user) { function (Message $message) use ($blueprint, $user) {
$message->to($user->email, $user->username) $message->to($user->email, $user->username)
->subject($blueprint->getEmailSubject()); ->subject($blueprint->getEmailSubject());