feat: display tours dynamically on index page

This commit is contained in:
2026-08-16 16:58:45 +03:30
parent 374c96bb79
commit 95cc970b07
9 changed files with 114 additions and 233 deletions
+4
View File
@@ -1,8 +1,12 @@
<?php
use App\Http\Controllers\IndexController;
use App\Http\Controllers\TourController;
use Illuminate\Support\Facades\Route;
Route::get('/' , [IndexController::class , 'index'])->name('index');
Route::prefix('tour')->controller(TourController::class)->name('tour.')->group(function (){
Route::get('show/{tour}' , 'show')->name('show');
});