19 lines
692 B
TypeScript
19 lines
692 B
TypeScript
// import { NgModule } from '@angular/core';
|
|
// import { RouterModule } from '@angular/router';
|
|
//
|
|
// import { OrganizationComponent } from './organization.component';
|
|
// import {FreeGuard} from'../../login/freeGuard.guard';
|
|
// import {PreviousRouteRecorder} from'../../utils/piwik/previousRouteRecorder.guard';
|
|
// import {IsRouteEnabled} from '../../error/isRouteEnabled.guard';
|
|
//
|
|
// @NgModule({
|
|
// imports: [
|
|
// RouterModule.forChild([
|
|
// { path: '', component: OrganizationComponent, canActivate: [FreeGuard, IsRouteEnabled], data: {
|
|
// redirect: '/error'
|
|
// },canDeactivate: [PreviousRouteRecorder] }
|
|
// ])
|
|
// ]
|
|
// })
|
|
// export class OrganizationRoutingModule { }
|