From 6aa30f537b8a38aac173734175a1021d1e1f6bee Mon Sep 17 00:00:00 2001 From: Deon George Date: Fri, 30 Sep 2022 09:35:58 +1000 Subject: [PATCH] Fix invoice view when not logged in --- routes/web.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/web.php b/routes/web.php index 804dd0c..18f2f3e 100644 --- a/routes/web.php +++ b/routes/web.php @@ -193,7 +193,7 @@ Route::group(['middleware'=>['theme:adminlte-be','auth'],'prefix'=>'u'],function // Doorman Code Routes Route::group(['middleware'=>['theme:adminlte-be'],'prefix'=>'u'],function() { - Route::get('invoice/{o}/email/{code}',[HomeController::class,'invoice_pdf_email']) + Route::get('invoice/{o}/email/{code}',[InvoiceController::class,'view']) ->where('o','[0-9]+') ->where('code','[0-9A-Z]{6}'); });