2019-12-23 17:36:53 +01:00
|
|
|
import { NgModule } from '@angular/core';
|
|
|
|
import {RouterModule} from '@angular/router';
|
2020-10-30 14:59:37 +01:00
|
|
|
import {PortalsComponent} from "../openaireLibrary/dashboard/portal/portals.component";
|
2019-12-23 17:36:53 +01:00
|
|
|
import {AdminLoginGuard} from "../openaireLibrary/login/adminLoginGuard.guard";
|
|
|
|
|
|
|
|
@NgModule({
|
|
|
|
imports: [
|
|
|
|
RouterModule.forChild([
|
2020-10-30 14:59:37 +01:00
|
|
|
{ path: '', canActivate: [AdminLoginGuard], component: PortalsComponent}
|
2019-12-23 17:36:53 +01:00
|
|
|
])
|
|
|
|
]
|
|
|
|
})
|
|
|
|
export class PortalsRoutingModule { }
|