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