Commit 3bbd989f authored by Simon Konrad's avatar Simon Konrad
Browse files

final app

parent bb944415
......@@ -25,7 +25,7 @@ export class HeroDetailComponent implements OnInit {
getHero(): void {
const id = this.route.snapshot.paramMap.get('id');
//this.heroService.getHero(id).subscribe(hero => this.hero = hero);
this.heroService.getHero(13).subscribe(hero => this.hero = hero);
}
goBack(): void {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment