Add (routes): All routes possible

Add (pages): home country page
This commit is contained in:
2023-07-26 03:10:36 +08:00
parent 728fc09474
commit 36efe23dcc
24 changed files with 4125 additions and 51 deletions

View File

@@ -17,6 +17,13 @@
Route::get('/{country}', [App\Http\Controllers\Front\HomeController::class, 'country'])->name('home.country');
Route::get('/{country}/posts', [App\Http\Controllers\Front\HomeController::class, 'posts'])->name('home.country.posts');
Route::get('/{country}/posts/{post}', [App\Http\Controllers\Front\HomeController::class, 'post'])->name('home.country.post');
Route::get('/{country}/{category}', [App\Http\Controllers\Front\HomeController::class, 'countryCategory'])->name('home.country.category');
Auth::routes();
Route::prefix('admin')->middleware('auth')->group(function () {