1
0
mirror of https://github.com/flarum/core.git synced 2025-07-21 16:51:34 +02:00

Pass correct param to notification email views

This commit is contained in:
Toby Zerner
2015-07-23 16:39:56 +09:30
parent 16840fb3ec
commit 677e6b2ac8

View File

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