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}'); });