TanchoToplineCargo/routes/CRUDgenerated/route.jobdemands.php

14 lines
1.1 KiB
PHP
Raw Normal View History

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