diff --git a/app/controllers/people_controller.rb b/app/controllers/people_controller.rb index 1f9ffb5..40aa266 100644 --- a/app/controllers/people_controller.rb +++ b/app/controllers/people_controller.rb @@ -6,7 +6,7 @@ class PeopleController < ApplicationController end def show - render json: Person.find(params[:id]) + render json: Person.find(params["id"]) end def create