14 lines
408 B
TypeScript
14 lines
408 B
TypeScript
import { NgModule } from '@angular/core';
|
|
import {RouterModule} from '@angular/router';
|
|
import {DivIdsComponent} from './divIds.component';
|
|
import {AdminLoginGuard} from "../../login/adminLoginGuard.guard";
|
|
|
|
@NgModule({
|
|
imports: [
|
|
RouterModule.forChild([
|
|
{ path: '', canActivate: [AdminLoginGuard], component: DivIdsComponent}
|
|
])
|
|
]
|
|
})
|
|
export class DivIdsRoutingModule { }
|