diff --git a/routes/web.php b/routes/web.php index 32d2a90..a7f57dd 100644 --- a/routes/web.php +++ b/routes/web.php @@ -1,6 +1,12 @@ name('index'); + +Route::prefix('flights')->controller(FlightController::class)->name('flights.')->group(function (){ + Route::get('/' , 'index')->name('index'); + Route::get('{flight}','show')->name('show'); +});