diff --git a/app/Exceptions/Handler.php b/app/Exceptions/Handler.php index aa4e7e0e..39a87952 100644 --- a/app/Exceptions/Handler.php +++ b/app/Exceptions/Handler.php @@ -30,7 +30,7 @@ public function register(): void switch ($exception->getStatusCode()) { case 404: - return redirect(route('home')); + return $this->renderHttpException($exception); break; case '500': return redirect(route('home'));