Add (initial): futurewalker code
This commit is contained in:
@@ -23,12 +23,12 @@
|
||||
|
||||
Route::get('/disclaimer', [App\Http\Controllers\Front\FrontHomeController::class, 'disclaimer'])->name('front.disclaimer');
|
||||
|
||||
Route::get('/news', [App\Http\Controllers\Front\FrontListController::class, 'index'])->name('front.all');
|
||||
Route::get('/latest', [App\Http\Controllers\Front\FrontListController::class, 'index'])->name('front.all');
|
||||
|
||||
Route::get('/news/{slug}', [App\Http\Controllers\Front\FrontPostController::class, 'redirect'])->name('front.post.redirect');
|
||||
Route::post('/search', [App\Http\Controllers\Front\FrontListController::class, 'search'])->name('front.search');
|
||||
|
||||
Route::get('/{category_slug}/{slug}', [App\Http\Controllers\Front\FrontPostController::class, 'index'])->name('front.post');
|
||||
|
||||
Route::get('/{category_slug}', [App\Http\Controllers\Front\FrontListController::class, 'category'])
|
||||
->where('category_slug', '^(automotive|business|trading|information-technology|marketing|office|telecommunications|food-drink|collectibles|pets|photography|hobbies-gifts|hunting-fishing|law|politics|home-garden|shopping|fashion-clothing|real-estate|family|wedding|immigration|society|education|languages|health|beauty|psychology|wellness|religion-spirituality|tips-tricks|how-to|holiday|world-festivals|travel|outdoors|computer|phones|gadgets|technology|social-networks|ai)$')
|
||||
->where('category_slug', '^(updates|opinions|features|new-launches|tutorials|reviews)$')
|
||||
->name('front.category');
|
||||
|
||||
Reference in New Issue
Block a user