Skip to content
This repository was archived by the owner on Oct 1, 2018. It is now read-only.

Commit f365292

Browse files
committed
update routing to module
1 parent 363f68f commit f365292

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/app/operators/operators.module.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import {
1111
MatMenuModule,
1212
MatButtonModule
1313
} from '@angular/material';
14-
import { RouterModule } from '@angular/router';
14+
import { OperatorsRoutingModule } from './operators.routing';
1515

1616
import { OperatorsComponent } from './operators.component';
1717
import { OperatorComponent } from './components/operator/operator.component';
@@ -37,7 +37,7 @@ const OPERATOR_ROUTES = [
3737
],
3838
imports: [
3939
CommonModule,
40-
RouterModule.forChild(OPERATOR_ROUTES),
40+
OperatorsRoutingModule,
4141
MatSidenavModule,
4242
MatIconModule,
4343
MatListModule,

src/app/operators/operators.routing.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ const routes: Routes = [
77
{ path: '', component: OperatorsComponent }
88
];
99

10-
export const routing: ModuleWithProviders = RouterModule.forChild(routes);
10+
export const OperatorsRoutingModule: ModuleWithProviders = RouterModule.forChild(routes);

0 commit comments

Comments
 (0)