Rails.application.routes.draw do # For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html get '/people', to: 'people#index' get '/people/:id', to: 'people#show' end