14 lines
1.1 KiB
PHP
14 lines
1.1 KiB
PHP
|
<?php
|
||
|
use App\Http\Controllers\ApplicantsController;
|
||
|
use Illuminate\Support\Facades\Route;
|
||
|
Route::prefix("applicants")->group(function () {
|
||
|
Route::get('/', [ApplicantsController::class, 'index'])->name('applicants.index');
|
||
|
Route::get('/create', [ApplicantsController::class, 'create'])->name('applicants.create');
|
||
|
Route::post('/store', [ApplicantsController::class, 'store'])->name('applicants.store');
|
||
|
Route::post('/sort', [ApplicantsController::class, 'sort'])->name('applicants.sort');
|
||
|
Route::post('/updatealias', [ApplicantsController::class, 'updatealias'])->name('applicants.updatealias');
|
||
|
Route::get('/show/{id}', [ApplicantsController::class, 'show'])->name('applicants.show');
|
||
|
Route::get('/edit/{id}', [ApplicantsController::class, 'edit'])->name('applicants.edit') ;
|
||
|
Route::post('/update/{id}', [ApplicantsController::class, 'update'])->name('applicants.update');
|
||
|
Route::delete('/destroy/{id}', [ApplicantsController::class, 'destroy'])->name('applicants.destroy');
|
||
|
});
|