feat: add flight routes
This commit is contained in:
@@ -1,6 +1,12 @@
|
||||
<?php
|
||||
|
||||
use App\Http\Controllers\FlightController;
|
||||
use App\Http\Controllers\IndexController;
|
||||
use Illuminate\Support\Facades\Route;
|
||||
|
||||
Route::get('/' , [IndexController::class , 'index'])->name('index');
|
||||
|
||||
Route::prefix('flights')->controller(FlightController::class)->name('flights.')->group(function (){
|
||||
Route::get('/' , 'index')->name('index');
|
||||
Route::get('{flight}','show')->name('show');
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user