You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
1.1 KiB
TypeScript
41 lines
1.1 KiB
TypeScript
import {NgModule} from "@angular/core";
|
|
import {RouterModule} from "@angular/router";
|
|
|
|
@NgModule({
|
|
imports: [RouterModule.forChild([
|
|
{
|
|
path: '',
|
|
loadChildren: () => import('../general/general.module').then(m => m.GeneralModule),
|
|
data: {hasAdminMenu: true},
|
|
pathMatch: 'full'
|
|
},
|
|
{
|
|
path: 'users',
|
|
loadChildren: () => import('../users/users.module').then(m => m.UsersModule),
|
|
data: {hasAdminMenu: true},
|
|
pathMatch: 'full'
|
|
},
|
|
{
|
|
path: 'indicators',
|
|
loadChildren: () => import('../topic/topic.module').then(m => m.TopicModule),
|
|
pathMatch: 'full'
|
|
},
|
|
{
|
|
path: 'indicators/:topic',
|
|
loadChildren: () => import('../topic/topic.module').then(m => m.TopicModule),
|
|
pathMatch: 'full'
|
|
},
|
|
{
|
|
path: 'admin-tools',
|
|
loadChildren: () => import('../admin-tools/admin-tools-routing.module').then(m => m.AdminToolsRoutingModule),
|
|
data: {
|
|
hasAdminMenu: true,
|
|
param: 'stakeholder'
|
|
}
|
|
}
|
|
])]
|
|
})
|
|
export class AdminStakeholderRoutingModule {
|
|
|
|
}
|