Project

General

Profile

1 60285 k.triantaf
import {NgModule} from "@angular/core";
2
import {RouterModule} from "@angular/router";
3
4
@NgModule({
5
  imports: [RouterModule.forChild([
6
    {
7 60298 k.triantaf
      path: '',
8 61408 k.triantaf
      loadChildren: () => import('../general/general.module').then(m => m.GeneralModule),
9 60298 k.triantaf
      data: {hasAdminMenu: true},
10
      pathMatch: 'full'
11
    },
12
    {
13 60285 k.triantaf
      path: 'users',
14 61408 k.triantaf
      loadChildren: () => import('../users/users.module').then(m => m.UsersModule),
15 60298 k.triantaf
      data: {hasAdminMenu: true},
16 60285 k.triantaf
      pathMatch: 'full'
17
    },
18
    {
19 60298 k.triantaf
      path: 'indicators',
20 61408 k.triantaf
      loadChildren: () => import('../topic/topic.module').then(m => m.TopicModule),
21 60298 k.triantaf
      pathMatch: 'full'
22 60293 k.triantaf
    },
23
    {
24 60298 k.triantaf
      path: 'indicators/:topic',
25 61408 k.triantaf
      loadChildren: () => import('../topic/topic.module').then(m => m.TopicModule),
26 60298 k.triantaf
      pathMatch: 'full'
27
    },
28
    {
29 60293 k.triantaf
      path: 'admin-tools',
30 61408 k.triantaf
      loadChildren: () => import('../admin-tools/admin-tools-routing.module').then(m => m.AdminToolsRoutingModule),
31 60293 k.triantaf
      data: {
32 60298 k.triantaf
        hasAdminMenu: true,
33
        param: 'stakeholder'
34 60293 k.triantaf
      }
35 60285 k.triantaf
    }
36
  ])]
37
})
38 60298 k.triantaf
export class AdminStakeholderRoutingModule {
39 60285 k.triantaf
40
}