18 lines
527 B
TypeScript
18 lines
527 B
TypeScript
|
import { NgModule } from '@angular/core';
|
||
|
import { RouterModule } from '@angular/router';
|
||
|
import {DepositComponent} from "./deposit.component";
|
||
|
import {LoginGuard} from "../../login/loginGuard.guard";
|
||
|
import {PreviousRouteRecorder} from "../../utils/piwik/previousRouteRecorder.guard";
|
||
|
|
||
|
|
||
|
@NgModule({
|
||
|
imports: [
|
||
|
RouterModule.forChild([
|
||
|
{ path: '', component: DepositComponent,
|
||
|
// canActivate: [LoginGuard],
|
||
|
canDeactivate: [PreviousRouteRecorder] }
|
||
|
])
|
||
|
]
|
||
|
})
|
||
|
export class DepositRoutingModule { }
|