From 2e26f6641d6b8552c4b92cb937ed05e25de08f34 Mon Sep 17 00:00:00 2001 From: Graham Campbell Date: Sun, 1 Nov 2015 23:36:49 +0000 Subject: [PATCH] Fixed redirect Closes #1098 --- app/Http/Middleware/RedirectIfAuthenticated.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Middleware/RedirectIfAuthenticated.php b/app/Http/Middleware/RedirectIfAuthenticated.php index 30cafdb1..ca69dcc1 100644 --- a/app/Http/Middleware/RedirectIfAuthenticated.php +++ b/app/Http/Middleware/RedirectIfAuthenticated.php @@ -47,7 +47,7 @@ class RedirectIfAuthenticated public function handle($request, Closure $next) { if ($this->auth->check()) { - return new RedirectResponse(route('dashboard')); + return new RedirectResponse(route('dashboard.index')); } return $next($request);