From c2ddf3f5c951a66ac7b09f40d9885efd89ea44ba Mon Sep 17 00:00:00 2001 From: Mohammad Hafijul Islam Date: Tue, 28 Jan 2025 20:32:11 +0600 Subject: [PATCH] duplicate route name issue fixed --- routes/api.php | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/routes/api.php b/routes/api.php index 26d7cbe..61fc248 100644 --- a/routes/api.php +++ b/routes/api.php @@ -40,20 +40,10 @@ }); } Route::apiResource('bank-transfers', BankTransferController::class)->except('update', 'destroy'); - Route::group(['prefix' => 'bank-transfers'], function () { - Route::post('store-without-insufficient-balance', [BankTransferController::class, 'storeWithoutInsufficientBalance']) - ->name('store-without-insufficient-balance'); - }); Route::apiResource('cash-pickups', CashPickupController::class)->except('update', 'destroy'); - Route::group(['prefix' => 'cash-pickups'], function () { - Route::post('store-without-insufficient-balance', [CashPickupController::class, 'storeWithoutInsufficientBalance']) - ->name('store-without-insufficient-balance'); - }); + Route::apiResource('wallet-transfers', WalletTransferController::class)->except('update', 'destroy'); - Route::group(['prefix' => 'wallet-transfers'], function () { - Route::post('store-without-insufficient-balance', [WalletTransferController::class, 'storeWithoutInsufficientBalance']) - ->name('store-without-insufficient-balance'); - }); + Route::post('wallet-verification', WalletVerificationController::class)->name('wallet-verification'); Route::get('islami-bank-account-type-code', [VendorTestController::class, 'islamiBankAccountTypeCode'])->name('islami-bank-account-type-code'); // DO NOT REMOVE THIS LINE//