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