Rails.application.routes.draw do resources :people, only: :show resources :countries, only: %i[index show] # Define your application routes per the DSL in https://guides.rubyonrails.org/routing.html # Defines the root path route ("/") # root "articles#index" end