diff --git a/frontend/src/ts/modules/app/app-routing.module.ts b/frontend/src/ts/modules/app/app-routing.module.ts index 1dd9d1f..1b8a01e 100644 --- a/frontend/src/ts/modules/app/app-routing.module.ts +++ b/frontend/src/ts/modules/app/app-routing.module.ts @@ -4,55 +4,10 @@ import {ConfirmExitGuard} from "@webbpm/base-package"; import {RolesGuard} from "./guard/RolesGuard"; const appRoutes: Routes = [ - { - path: 'milregistration', - loadChildren: 'generated-sources/page-milregistration.module#PagemilregistrationModule', - canActivate: [ConfirmExitGuard, RolesGuard], - }, { path: 'conversion', loadChildren: 'generated-sources/page-conversion.module#PageconversionModule', canActivate: [ConfirmExitGuard], - }, - { - path: 'appeals', - loadChildren: 'generated-sources/page-appeals.module#PageappealsModule', - canActivate: [ConfirmExitGuard, RolesGuard], - }, - { - path: 'ratings', - loadChildren: 'generated-sources/page-ratings.module#PageratingsModule', - canActivate: [ConfirmExitGuard, RolesGuard], - }, - { - path: 'recruitment', - loadChildren: 'generated-sources/page-recruitment.module#PagerecruitmentModule', - canActivate: [ConfirmExitGuard, RolesGuard], - }, - { - path: 'notregistered', - loadChildren: 'generated-sources/page-notregistered.module#PagenotregisteredModule', - canActivate: [ConfirmExitGuard, RolesGuard], - }, - { - path: 'citizen', - loadChildren: 'generated-sources/page-citizen.module#PagecitizenModule', - canActivate: [ConfirmExitGuard, RolesGuard], - }, - { - path: 'citizencard/:id', - loadChildren: 'generated-sources/page-citizencard.module#PagecitizencardModule', - canActivate: [ConfirmExitGuard, RolesGuard], - }, - { - path: 'main', - loadChildren: 'generated-sources/page-main.module#PagemainModule', - canActivate: [ConfirmExitGuard, RolesGuard] - }, - { - path: 'total_registered_second', - loadChildren: 'generated-sources/page-total_registered_second.module#Pagetotal_registered_secondModule', - canActivate: [ConfirmExitGuard, RolesGuard] } ]; diff --git a/frontend/src/ts/modules/webbpm/webbpm-routing.module.ts b/frontend/src/ts/modules/webbpm/webbpm-routing.module.ts index 3576d2c..12585c3 100644 --- a/frontend/src/ts/modules/webbpm/webbpm-routing.module.ts +++ b/frontend/src/ts/modules/webbpm/webbpm-routing.module.ts @@ -13,7 +13,7 @@ const webbpmRoutes: Routes = [ }, { path: '', - loadChildren: 'generated-sources/page-main.module#PagemainModule', + loadChildren: 'generated-sources/page-conversion.module#PageconversionModule', canActivate: [ConfirmExitGuard, RolesGuard], pathMatch: 'full', },