docs(toh-5/ts): Minor error fixed.
There are no leading slashes in the path.
This commit is contained in:
parent
868abbe5c7
commit
461213996e
|
@ -4,7 +4,7 @@ import { HeroesComponent } from './heroes.component';
|
||||||
|
|
||||||
const routes: RouterConfig = [
|
const routes: RouterConfig = [
|
||||||
{
|
{
|
||||||
path: '/heroes',
|
path: 'heroes',
|
||||||
component: HeroesComponent
|
component: HeroesComponent
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in New Issue