Route::middleware(['auth'])->prefix('airline')->group(function () {
Route::get('create', [App\Http\Controllers\Airline\CreateController::class, 'index']);
});
public function index()
{
$ports = Airport::all();
return view('airline.create.index', ['ports' => $ports]);
}