Fix routing for edit action

people_path routes back to the root of /people, so passing it further arguments it assumes are extensions. You want to route to a specific person, so you needed to use person_path.