Skip to content

Commit

Permalink
Fixes route order issue
Browse files Browse the repository at this point in the history
  • Loading branch information
danpastori committed Sep 12, 2024
1 parent 9ac74d6 commit d031325
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Modules/Transaction/routes/web.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'])
Expand All @@ -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');
});

0 comments on commit d031325

Please sign in to comment.