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