connect-admin/src/app/login/user-routing.module.ts

16 lines
441 B
TypeScript

import { NgModule } from '@angular/core';
import { RouterModule } from '@angular/router';
import {ConnectUserComponent } from './user.component';
import {PreviousRouteRecorder} from '../openaireLibrary/utils/piwik/previousRouteRecorder.guard';
@NgModule({
imports: [
RouterModule.forChild([
{ path: '', component: ConnectUserComponent, canDeactivate: [PreviousRouteRecorder]},
])
]
})
export class UserRoutingModule { }