Fix email confirmation route

This commit is contained in:
Toby Zerner 2015-04-25 22:34:33 +09:30
parent c9d7ac7a88
commit 081dde346d

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) {