Skip to content

Commit 2742ea0

Browse files
committed
Fix bad dashboard link
1 parent 1c3e74a commit 2742ea0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/Http/Middleware/RedirectIfAuthenticated.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public function __construct(Guard $auth)
5555
public function handle(Request $request, Closure $next)
5656
{
5757
if ($this->auth->check()) {
58-
return new RedirectResponse(route('dashboard.index'));
58+
return new RedirectResponse(cachet_route('dashboard'));
5959
}
6060

6161
return $next($request);

0 commit comments

Comments
 (0)