TanchoToplineCargo/routes/route.cerificates.php

14 lines
1.1 KiB
PHP
Raw Normal View History

2024-05-05 04:47:49 +00:00
<?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');
});