From cf85232ead9ce258f98a2b559ec16543aa51f954 Mon Sep 17 00:00:00 2001 From: omair saleh Date: Sat, 5 Dec 2020 12:45:29 +0800 Subject: [PATCH] x1 and x2 reports --- routes/web.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/web.php b/routes/web.php index 0c4c3c9e..eb443982 100644 --- a/routes/web.php +++ b/routes/web.php @@ -118,7 +118,7 @@ Route::group(['middleware' => ['role:admin']], function() { } })->name('invoice.old'); } catch (\Exception $exception){ - return $exception->getMessage(); + return redirect('login'); } });