24 lines
758 B
TypeScript
24 lines
758 B
TypeScript
|
import {RouterModule, Routes} from "@angular/router";
|
||
|
import {RankOverviewComponent} from "./rank-overview/rank-overview.component";
|
||
|
import {ModuleWithProviders} from "@angular/core";
|
||
|
import {DecorationOverviewComponent} from "./decoration-overview/decoration-overview.component";
|
||
|
import {PublicComponent} from "./public.component";
|
||
|
|
||
|
export const publicRoutes: Routes = [
|
||
|
{
|
||
|
path: 'ranks',
|
||
|
component: RankOverviewComponent,
|
||
|
outlet: 'right'
|
||
|
},
|
||
|
{
|
||
|
path: 'decorations',
|
||
|
component: DecorationOverviewComponent,
|
||
|
outlet: 'right'
|
||
|
},
|
||
|
];
|
||
|
|
||
|
export const pubRouterModule: ModuleWithProviders = RouterModule.forChild(publicRoutes);
|
||
|
|
||
|
export const pubRoutingComponents = [PublicComponent, RankOverviewComponent, DecorationOverviewComponent];
|
||
|
|