16 lines
450 B
TypeScript
16 lines
450 B
TypeScript
import { NgModule } from '@angular/core';
|
|
import { RouterModule } from '@angular/router';
|
|
|
|
import{CommunitiesComponent} from './communities.component';
|
|
import {FreeGuard,PreviousRouteRecorder} from 'ng-openaire-library';
|
|
|
|
@NgModule({
|
|
imports: [
|
|
RouterModule.forChild([
|
|
{ path: '', component: CommunitiesComponent, canActivate: [FreeGuard], canDeactivate: [PreviousRouteRecorder] }
|
|
|
|
])
|
|
]
|
|
})
|
|
export class CommunitiesRoutingModule { }
|