TanchoToplineCargo/routes/CRUDgenerated/route.jobdemand.php

14 lines
1.0 KiB
PHP
Raw Normal View History

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