Files
landing-page/routes/route.preparationclasstestimonials.php
2025-07-07 18:01:52 +05:45

15 lines
1.6 KiB
PHP

<?php
use App\Http\Controllers\PreparationclasstestimonialsController;
use Illuminate\Support\Facades\Route;
Route::prefix("preparationclasstestimonials")->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');
});