17 lines
551 B
TypeScript
17 lines
551 B
TypeScript
|
import {NgModule} from '@angular/core';
|
||
|
import {RouterModule} from '@angular/router';
|
||
|
|
||
|
import {FreeGuard} from '../openaireLibrary/login/freeGuard.guard';
|
||
|
import {PreviousRouteRecorder} from '../openaireLibrary/utils/piwik/previousRouteRecorder.guard';
|
||
|
import {LearnHowComponent} from "./learn-how.component";
|
||
|
|
||
|
@NgModule({
|
||
|
imports: [
|
||
|
RouterModule.forChild([
|
||
|
{ path: '', component: LearnHowComponent, canActivate: [FreeGuard], canDeactivate: [PreviousRouteRecorder] }
|
||
|
|
||
|
])
|
||
|
]
|
||
|
})
|
||
|
export class LearnHowRoutingModule { }
|