Sonsino, Ofir (os0695) | ff76b5e | 2018-07-10 15:57:37 +0300 | [diff] [blame] | 1 | import {RouterModule, Routes} from '@angular/router'; |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 2 | import {FlagsResolve} from "./shared/resolvers/flag/flag.resolver"; |
| 3 | import {DrawingBoardRoutes} from "./drawingBoard/drawingBoard.routing"; |
| 4 | import {GenericFormPopupComponent} from "./shared/components/genericFormPopup/generic-form-popup.component"; |
| 5 | import {SupportComponent} from "./support/support.component"; |
| 6 | import {HealthStatusRoutes} from "./healthStatus/health-status.routing"; |
| 7 | import {VlanTaggingRoutes} from "./vlanTagging/vlan-tagging.routing"; |
| 8 | import {InstantiationStatusRoutes} from "./instantiationStatus/InstantiationStatus.routing"; |
Sonsino, Ofir (os0695) | ff76b5e | 2018-07-10 15:57:37 +0300 | [diff] [blame] | 9 | const routes: Routes = [ |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 10 | ...DrawingBoardRoutes, |
| 11 | ...HealthStatusRoutes, |
| 12 | ...VlanTaggingRoutes, |
| 13 | ...InstantiationStatusRoutes, |
| 14 | { |
| 15 | path: 'servicePopup', |
| 16 | component: GenericFormPopupComponent, |
| 17 | resolve: { |
| 18 | flags: FlagsResolve |
| 19 | } |
| 20 | }, |
| 21 | {path: 'support', component: SupportComponent}, |
Sonsino, Ofir (os0695) | ff76b5e | 2018-07-10 15:57:37 +0300 | [diff] [blame] | 22 | ]; |
Sonsino, Ofir (os0695) | ff76b5e | 2018-07-10 15:57:37 +0300 | [diff] [blame] | 23 | export const routing = RouterModule.forRoot(routes); |