feat(flights): add flight listing with dynamic data in index

This commit is contained in:
2026-08-17 15:51:25 +03:30
parent 08188f1026
commit 68157e043c
3 changed files with 102 additions and 147 deletions
+5
View File
@@ -1,5 +1,6 @@
<?php
use App\Http\Controllers\FlightController;
use App\Http\Controllers\IndexController;
use App\Http\Controllers\TourController;
use Illuminate\Support\Facades\Route;
@@ -11,3 +12,7 @@ Route::prefix('tour')->controller(TourController::class)->name('tour.')->group(f
Route::get('index' , 'index')->name('index');
Route::get('show/{tour}' , 'show')->name('show');
});
Route::prefix('flight')->controller(FlightController::class)->name('flight.')->group(function (){
Route::get('index' , 'index')->name('index');
Route::get('show/{flight}' , 'show')->name('show');
});