api hooks up correctly for /heroes and /heroes/:id