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

15 lines
1.2 KiB
PHP

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