Refactor post /people/:id/delete route on main.rb file.