21 lines
664 B
PHP
21 lines
664 B
PHP
|
|
<?php
|
||
|
|
/**
|
||
|
|
* Certificate Related Routes.
|
||
|
|
*/
|
||
|
|
|
||
|
|
// Certificate Routes
|
||
|
|
use Illuminate\Support\Facades\Route;
|
||
|
|
use App\Http\Controllers\Backend\CertificateController;
|
||
|
|
|
||
|
|
Route::group([
|
||
|
|
'middleware' => [],
|
||
|
|
'as' => 'certificates.',
|
||
|
|
'prefix' => 'certificates'
|
||
|
|
],
|
||
|
|
function () {
|
||
|
|
Route::get('/', [CertificateController::class, 'index'])->name('index');
|
||
|
|
Route::get('listing', [CertificateController::class, 'listing'])->name('listing');
|
||
|
|
Route::get('{id}/view', [CertificateController::class, 'show'])->name('show');
|
||
|
|
Route::post('{id}/status/update', [CertificateController::class, 'statusUpdate'])->name('status.update');
|
||
|
|
});
|