hero routes are now based off their name. json.url in jbuilder is properly passed hero.name in hero_url helper.