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