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