Added dummy news route for link compatibility with the news component and check if news data contains news
This commit is contained in:
@@ -26,6 +26,10 @@ Route::get('/salesterms', function () {
|
||||
return Inertia::render('Welcome');
|
||||
})->name('salesTerms');
|
||||
|
||||
Route::get('/news', function () {
|
||||
return Inertia::render('Welcome');
|
||||
})->name('news');
|
||||
|
||||
Route::get('/p/{slug}', [PageRender::class, 'view'])->name('page.view');
|
||||
|
||||
Route::middleware(['auth', 'verified'])->group(function() {
|
||||
|
||||
Reference in New Issue
Block a user