Display & Add Flights

This commit is contained in:
ricky committed 2022-01-15 16:02:05 -05:00
1 parent 67e8e7f74a
commit 796a070af4
5 files changed
+26 -17

No files matched your search

+1 -2
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