Finally figured out routing issue.
Now, the code will no longer use resources :heroes due to the ID being used in the link. Wished the link to display hero name. Replaced all routes to use :name instead of :id except for PATCH method.