dnet40/modules/uoa-monitor-portal/trunk/monitor_dashboard/src/app/portals/portals-routing.module.ts @ 59786
1 |
import { NgModule } from '@angular/core'; |
---|---|
2 |
import {RouterModule} from '@angular/router'; |
3 |
import {PortalsComponent} from "../openaireLibrary/dashboard/portal/portals.component"; |
4 |
import {AdminLoginGuard} from "../openaireLibrary/login/adminLoginGuard.guard"; |
5 |
|
6 |
@NgModule({ |
7 |
imports: [ |
8 |
RouterModule.forChild([ |
9 |
{ path: '', canActivate: [AdminLoginGuard], component: PortalsComponent} |
10 |
])
|
11 |
]
|
12 |
})
|
13 |
export class PortalsRoutingModule { } |