From 258b4a86264dda8af2b7d21e8e29406411cdf8b9 Mon Sep 17 00:00:00 2001 From: omair saleh Date: Sat, 5 Dec 2020 13:00:57 +0800 Subject: [PATCH] x1 and x2 reports --- app/Exceptions/Handler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Exceptions/Handler.php b/app/Exceptions/Handler.php index c036c0d6..14f9d193 100644 --- a/app/Exceptions/Handler.php +++ b/app/Exceptions/Handler.php @@ -59,7 +59,7 @@ class Handler extends ExceptionHandler } if ($exception instanceof AuthorizationException) { - return 'test'; + return response()->redirectTo('/'); } return parent::render($request, $exception);