diff --git a/Gemfile b/Gemfile index 3a1c3e3..1d6772f 100644 --- a/Gemfile +++ b/Gemfile @@ -33,6 +33,8 @@ gem 'jbuilder', '~> 2.5' # Use Capistrano for deployment # gem 'capistrano-rails', group: :development +gem 'bootstrap' + # Reduces boot times through caching; required in config/boot.rb gem 'bootsnap', '>= 1.1.0', require: false diff --git a/config/routes.rb b/config/routes.rb index cd79256..9a48416 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -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