Display & Add Flights

This commit is contained in:
2022-01-15 16:02:05 -05:00
parent 67e8e7f74a
commit 796a070af4
5 changed files with 26 additions and 17 deletions

View File

@@ -1,6 +1,5 @@
Rails.application.routes.draw do
root "flights#index"
get "/flights", to: "flights#index"
get "/flights/:id", to: "flights#show"
resources :flights
end