Skip to content

Commit

Permalink
Update admin.php
Browse files Browse the repository at this point in the history
  • Loading branch information
JulianPrieber committed Jul 17, 2023
1 parent 4cdd725 commit c145dd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Http/Middleware/admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ public function handle(Request $request, Closure $next)
return $next($request);
}

return redirect('/');
return redirect(url('dashboard'));
}
}

0 comments on commit c145dd5

Please sign in to comment.