Add (routes): All routes possible
Add (pages): home country page
This commit is contained in:
@@ -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 () {
|
||||
|
||||
Reference in New Issue
Block a user