ログイン済の状態でログインページ等にアクセスした際のリダイレクト先が間違っていたので修正 (#75)

refs #69
This commit is contained in:
shibafu 2019-01-31 00:45:16 +09:00 committed by GitHub
parent 57715b9a82
commit 1835776a9c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ class RedirectIfAuthenticated
public function handle($request, Closure $next, $guard = null)
{
if (Auth::guard($guard)->check()) {
return redirect('/home');
return redirect()->route('home');
}
return $next($request);