New-OMIS/routes/CRUDgenerated/route.progressstatuses.php

16 lines
1.4 KiB
PHP
Raw Normal View History

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