2018-01-26 16:00:07 +01:00
|
|
|
import { NgModule } from '@angular/core';
|
|
|
|
import { RouterModule } from '@angular/router';
|
|
|
|
|
|
|
|
import{CommunityComponent} from './community.component';
|
2018-02-15 12:12:55 +01:00
|
|
|
import {PreviousRouteRecorder} from '../openaireLibrary/utils/piwik/previousRouteRecorder.guard';
|
2018-01-26 16:00:07 +01:00
|
|
|
|
|
|
|
@NgModule({
|
|
|
|
imports: [
|
|
|
|
RouterModule.forChild([
|
2020-11-12 16:59:26 +01:00
|
|
|
{ path: '', component: CommunityComponent,canDeactivate: [PreviousRouteRecorder] }
|
2018-01-26 16:00:07 +01:00
|
|
|
|
|
|
|
])
|
|
|
|
]
|
|
|
|
})
|
|
|
|
export class CommunityRoutingModule { }
|