From 68ee56e36fab10affb70a344a9038fd8cbe6517a Mon Sep 17 00:00:00 2001 From: mina-esn Date: Mon, 17 Aug 2026 10:00:02 +0330 Subject: [PATCH] feat: add flight routes --- routes/web.php | 6 ++++++ 1 file changed, 6 insertions(+) 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'); +});