Updated route list to include privacy policy, terms of use and sales terms to prevent errors with components that render links to those routes
Some checks are pending
linter / quality (push) Waiting to run
tests / ci (push) Waiting to run

This commit is contained in:
Helge-Mikael Nordgård 2025-05-05 19:18:20 +02:00
parent 3c49569962
commit 19e2611eb3
2 changed files with 12 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.8 KiB

View File

@ -10,6 +10,18 @@ Route::get('/', function () {
return Inertia::render('Welcome');
})->name('forsiden');
Route::get('/privacypolicy', function () {
return Inertia::render('Welcome');
})->name('privacyPolicy');
Route::get('/useterms', function () {
return Inertia::render('Welcome');
})->name('useTerms');
Route::get('/salesterms', function () {
return Inertia::render('Welcome');
})->name('salesTerms');
Route::get('/p/{slug}', [PageRender::class, 'view'])->name('page.view');
Route::middleware(['auth', 'verified'])->group(function() {