Raffales-LMS/routes/CRUDgenerated/route.followups.php

15 lines
1.2 KiB
PHP
Raw Normal View History

2024-04-16 09:58:24 +00:00
<?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');
});