Fix email confirmation route

This commit is contained in:
Toby Zerner 2015-04-25 22:34:33 +09:30
parent 8491c4cbf8
commit c6079c53c9

View File

@ -35,7 +35,7 @@ class EmailConfirmationMailer
$data = [
'username' => $user->username,
'forumTitle' => $forumTitle,
'url' => route('flarum.confirm', ['id' => $user->id, 'token' => $user->confirmation_token])
'url' => route('flarum.forum.confirm', ['id' => $user->id, 'token' => $user->confirmation_token])
];
$this->mailer->send(['text' => 'flarum::emails.confirm'], $data, function ($message) use ($user, $forumTitle) {