added basic flight index & show

This commit is contained in:
2022-01-14 13:24:36 -05:00
parent 278c7169d8
commit 67e8e7f74a
2 changed files with 6 additions and 2 deletions

View File

@@ -1,4 +1,6 @@
Rails.application.routes.draw do
# For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
root 'application#hello'
root "flights#index"
get "/flights", to: "flights#index"
get "/flights/:id", to: "flights#show"
end