Merge pull request #3564 from martinbean/patch-1

Change redirect when authenticated
This commit is contained in:
Taylor Otwell 2015-11-21 12:31:47 -06:00
commit 091489d17b

View File

@ -35,7 +35,7 @@ class RedirectIfAuthenticated
public function handle($request, Closure $next)
{
if ($this->auth->check()) {
return redirect('/home');
return redirect('/');
}
return $next($request);