From d031325039ce261cceeb773965dbeb128c37258e Mon Sep 17 00:00:00 2001 From: Dan Pastori Date: Thu, 12 Sep 2024 15:39:22 -0500 Subject: [PATCH] Fixes route order issue --- Modules/Transaction/routes/web.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Modules/Transaction/routes/web.php b/Modules/Transaction/routes/web.php index ea85a9b..5196a0d 100644 --- a/Modules/Transaction/routes/web.php +++ b/Modules/Transaction/routes/web.php @@ -15,6 +15,11 @@ */ Route::middleware('auth')->group(function () { + Route::get('/transactions/import', [ImportController::class, 'index']) + ->name('transactions.import.index'); + Route::post('/transactions/import', [ImportController::class, 'store']) + ->name('transactions.import.store'); + Route::get('/transactions', [TransactionController::class, 'index']) ->name('transactions.index'); Route::post('/transactions', [TransactionController::class, 'store']) @@ -23,9 +28,4 @@ ->name('transactions.show'); Route::put('/transactions/{transaction}', [TransactionController::class, 'update']) ->name('transactions.update'); - - Route::get('/transactions/import', [ImportController::class, 'index']) - ->name('transactions.import.index'); - Route::post('/transactions/import', [ImportController::class, 'store']) - ->name('transactions.import.store'); });