14 lines
572 B
PHP
14 lines
572 B
PHP
<?php
|
|
|
|
use Illuminate\Support\Facades\Route;
|
|
use Modules\Licensing\Http\Controllers\Customer\CustomerLicensingController;
|
|
|
|
// Read-only customer portal. No licence claiming by ID, no billing mutations.
|
|
Route::middleware(['web', 'auth', 'verified', 'throttle:30,1'])
|
|
->prefix('account/sonardesk')
|
|
->name('account.sonardesk.')
|
|
->group(function (): void {
|
|
Route::get('/', [CustomerLicensingController::class, 'index'])->name('index');
|
|
Route::get('/licenses/{license}', [CustomerLicensingController::class, 'show'])->name('licenses.show');
|
|
});
|