/**
  * Display a listing of the resource.
  *
  * @return \Illuminate\Http\Response
  */
 public function getIndex()
 {
     //
     $flights = Flight::all();
     return view('flight.index', ['flights' => $flights]);
 }
 public function index()
 {
     $flights = Flight::all();
     return view('scrapers.index')->with('flights', $flights);
 }