TanchoToplineCargo/routes/CRUDgenerated/route.recruitmentarticles.php

14 lines
1.2 KiB
PHP
Raw Permalink Normal View History

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