New-OMIS/routes/CRUDgenerated/route.leavetypes.php.bak

17 lines
1.3 KiB
PHP
Raw Normal View History

2024-04-05 05:22:15 +00:00
<?php
use App\Http\Controllers\LeavetypesController;
use Illuminate\Support\Facades\Route;
Route::prefix("leavetypes")->group(function () {
Route::get('/', [LeavetypesController::class, 'index'])->name('leavetypes.index');
Route::get('/create', [LeavetypesController::class, 'create'])->name('leavetypes.create');
Route::post('/store', [LeavetypesController::class, 'store'])->name('leavetypes.store');
Route::post('/sort', [LeavetypesController::class, 'sort'])->name('leavetypes.sort');
Route::post('/updatealias', [LeavetypesController::class, 'updatealias'])->name('leavetypes.updatealias');
Route::get('/show/{id}', [LeavetypesController::class, 'show'])->name('leavetypes.show');
Route::get('/edit/{id}', [LeavetypesController::class, 'edit'])->name('leavetypes.edit') ;
Route::post('/update/{id}', [LeavetypesController::class, 'update'])->name('leavetypes.update');
Route::get('/destroy/{id}', [LeavetypesController::class, 'destroy'])->name('leavetypes.destroy');
Route::get('/toggle/{id}', [LeavetypesController::class, 'toggle'])->name('leavetypes.toggle');
Route::get('/clone/{id}', [LeavetypesController::class, 'clone'])->name('leavetypes.clone');
2024-04-14 12:44:29 +00:00
});