14 lines
1.1 KiB
PHP
14 lines
1.1 KiB
PHP
<?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');
|
|
}); |