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