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