summaryrefslogtreecommitdiffstats
path: root/vid-webpack-master/src/app/app.routing.ts
blob: 779d17e3ce9bf93daba8a6ae6a65603836682ea1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
import {RouterModule, Routes} from '@angular/router';
import {FlagsResolve} from "./shared/resolvers/flag/flag.resolver";
import {DrawingBoardRoutes} from "./drawingBoard/drawingBoard.routing";
import {GenericFormPopupComponent} from "./shared/components/genericFormPopup/generic-form-popup.component";
import {SupportComponent} from "./support/support.component";
import {HealthStatusRoutes} from "./healthStatus/health-status.routing";
import {VlanTaggingRoutes} from "./vlanTagging/vlan-tagging.routing";
import {InstantiationStatusRoutes} from "./instantiationStatus/InstantiationStatus.routing";
const routes: Routes = [
  ...DrawingBoardRoutes,
  ...HealthStatusRoutes,
  ...VlanTaggingRoutes,
  ...InstantiationStatusRoutes,
  {
    path: 'servicePopup',
    component: GenericFormPopupComponent,
    resolve: {
      flags: FlagsResolve
    }
  },
  {path: 'support', component: SupportComponent},
];
export const routing = RouterModule.forRoot(routes);