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