14 lines
453 B
TypeScript
14 lines
453 B
TypeScript
|
import { NgModule } from '@angular/core';
|
||
|
import {RouterModule} from '@angular/router';
|
||
|
import {CommunitiesComponent} from "../openaireLibrary/dashboard/portal/communities.component";
|
||
|
import {AdminLoginGuard} from "../openaireLibrary/login/adminLoginGuard.guard";
|
||
|
|
||
|
@NgModule({
|
||
|
imports: [
|
||
|
RouterModule.forChild([
|
||
|
{ path: '', canActivate: [AdminLoginGuard], component: CommunitiesComponent}
|
||
|
])
|
||
|
]
|
||
|
})
|
||
|
export class PortalsRoutingModule { }
|