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