diff --git a/database/seeds/dev.yml b/database/seeds/dev.yml index d9809cb4..9ff86597 100644 --- a/database/seeds/dev.yml +++ b/database/seeds/dev.yml @@ -158,12 +158,26 @@ flights: dpt_airport_id: 1 arr_airport_id: 2 route: KAUS KJFK + dpt_time: 6PM CST + arr_time: 11PM EST + - id: flightid_2 + airline_id: 1 + flight_number: 101 + dpt_airport_id: 2 + arr_airport_id: 1 + dpt_time: 9AM EST + arr_time: 12PM CST + route: KJFK KAUS flight_fields: - id: 1 flight_id: flightid_1 - name: terminal - value: B + name: cost index + value: 80 + - id: 2 + flight_id: flightid_2 + name: cost index + value: 100 pireps: - id: pirepid_1 diff --git a/resources/views/layouts/default/app.blade.php b/resources/views/layouts/default/app.blade.php index 225f0f9a..b254bb67 100644 --- a/resources/views/layouts/default/app.blade.php +++ b/resources/views/layouts/default/app.blade.php @@ -48,7 +48,7 @@
Flights
diff --git a/routes/web.php b/routes/web.php index 54bac89e..bd25d351 100755 --- a/routes/web.php +++ b/routes/web.php @@ -12,6 +12,7 @@ Route::group([ ], function () { Route::resource('dashboard', 'DashboardController'); Route::resource('profile', 'ProfileController'); + Route::resource('flights', 'FlightController'); }); Auth::routes();