group(function () { Route::get('/', [EconomiesController::class, 'index'])->name('economies.index'); Route::get('/create', [EconomiesController::class, 'create'])->name('economies.create'); Route::post('/store', [EconomiesController::class, 'store'])->name('economies.store'); Route::post('/sort', [EconomiesController::class, 'sort'])->name('economies.sort'); Route::post('/updatealias', [EconomiesController::class, 'updatealias'])->name('economies.updatealias'); Route::get('/show/{id}', [EconomiesController::class, 'show'])->name('economies.show'); Route::get('/edit/{id}', [EconomiesController::class, 'edit'])->name('economies.edit') ; Route::post('/update/{id}', [EconomiesController::class, 'update'])->name('economies.update'); Route::delete('/destroy/{id}', [EconomiesController::class, 'destroy'])->name('economies.destroy'); Route::get('/toggle/{id}', [EconomiesController::class, 'toggle'])->name('economies.toggle'); });