Raffales-LMS/routes/CRUDgenerated/route.qualifications.php
2024-04-16 15:43:24 +05:45

15 lines
1.3 KiB
PHP

<?php
use App\Http\Controllers\QualificationsController;
use Illuminate\Support\Facades\Route;
Route::prefix("qualifications")->group(function () {
Route::get('/', [QualificationsController::class, 'index'])->name('qualifications.index');
Route::get('/create', [QualificationsController::class, 'create'])->name('qualifications.create');
Route::post('/store', [QualificationsController::class, 'store'])->name('qualifications.store');
Route::post('/sort', [QualificationsController::class, 'sort'])->name('qualifications.sort');
Route::post('/updatealias', [QualificationsController::class, 'updatealias'])->name('qualifications.updatealias');
Route::get('/show/{id}', [QualificationsController::class, 'show'])->name('qualifications.show');
Route::get('/edit/{id}', [QualificationsController::class, 'edit'])->name('qualifications.edit') ;
Route::post('/update/{id}', [QualificationsController::class, 'update'])->name('qualifications.update');
Route::delete('/destroy/{id}', [QualificationsController::class, 'destroy'])->name('qualifications.destroy');
Route::get('/toggle/{id}', [QualificationsController::class, 'toggle'])->name('qualifications.toggle');
});