24 lines
590 B
TypeScript
24 lines
590 B
TypeScript
|
import {Routes} from "@angular/router";
|
||
|
import {RankComponent} from "./ranks.component";
|
||
|
import {RankListComponent} from "./rank-list/rank-list.component";
|
||
|
import {RankOverviewComponent} from "./rank-overview/rank-overview.component";
|
||
|
|
||
|
|
||
|
export const ranksRoutes: Routes = [{
|
||
|
path: '', component: RankComponent,
|
||
|
children: [
|
||
|
{
|
||
|
path: '',
|
||
|
component: RankListComponent
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
path: 'overview/:id',
|
||
|
component: RankOverviewComponent,
|
||
|
outlet: 'right'
|
||
|
}];
|
||
|
|
||
|
export const ranksRoutingComponents = [RankComponent, RankListComponent, RankOverviewComponent];
|
||
|
|