2019-06-24 16:11:27 +02:00
|
|
|
import {NgModule} from '@angular/core';
|
|
|
|
import {RouterModule} from '@angular/router';
|
|
|
|
import {PreviousRouteRecorder} from '../openaireLibrary/utils/piwik/previousRouteRecorder.guard';
|
|
|
|
import {LearnHowComponent} from "./learn-how.component";
|
2019-07-18 18:03:37 +02:00
|
|
|
import {IsRouteEnabled} from "../openaireLibrary/error/isRouteEnabled.guard";
|
2019-06-24 16:11:27 +02:00
|
|
|
|
|
|
|
@NgModule({
|
|
|
|
imports: [
|
|
|
|
RouterModule.forChild([
|
2020-11-12 16:59:26 +01:00
|
|
|
{ path: '', component: LearnHowComponent, canActivate: [ IsRouteEnabled], canDeactivate: [PreviousRouteRecorder] }
|
2019-06-24 16:11:27 +02:00
|
|
|
|
|
|
|
])
|
|
|
|
]
|
|
|
|
})
|
|
|
|
export class LearnHowRoutingModule { }
|