From 2742ea0298ea91580392360150cb43b4942cc5f7 Mon Sep 17 00:00:00 2001 From: James Brooks Date: Thu, 13 Oct 2016 08:55:17 +0100 Subject: [PATCH] Fix bad dashboard link --- 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 57f5958e..cf2c8333 100644 --- a/app/Http/Middleware/RedirectIfAuthenticated.php +++ b/app/Http/Middleware/RedirectIfAuthenticated.php @@ -55,7 +55,7 @@ class RedirectIfAuthenticated public function handle(Request $request, Closure $next) { if ($this->auth->check()) { - return new RedirectResponse(route('dashboard.index')); + return new RedirectResponse(cachet_route('dashboard')); } return $next($request);