feat(flights): add flight listing with dynamic data in index
This commit is contained in:
@@ -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');
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user