diff options
author | 2018-07-30 06:18:50 +0000 | |
---|---|---|
committer | 2018-07-30 06:18:50 +0000 | |
commit | 9325c635d3e39fb95e18a9fd30b95c4d4eb62a5f (patch) | |
tree | 24c720a67c005d6d89db556ce454481ce254c85a /rulemgt-frontend/src/app/app.routing.ts | |
parent | df4bde91310a471a5489917e3a07359ef790d9cb (diff) | |
parent | 0a6e32dbdb5d505536d33a3539f7b9fcfba1cffe (diff) |
Merge "Added Menu Items"
Diffstat (limited to 'rulemgt-frontend/src/app/app.routing.ts')
-rw-r--r-- | rulemgt-frontend/src/app/app.routing.ts | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/rulemgt-frontend/src/app/app.routing.ts b/rulemgt-frontend/src/app/app.routing.ts index 3502167..649053b 100644 --- a/rulemgt-frontend/src/app/app.routing.ts +++ b/rulemgt-frontend/src/app/app.routing.ts @@ -1,5 +1,5 @@ /* - Copyright 2017 ZTE Corporation. + Copyright 2018 ZTE Corporation. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -13,14 +13,14 @@ See the License for the specific language governing permissions and limitations under the License. */ -import { ModuleWithProviders } from '@angular/core'; +import { ModuleWithProviders } from '@angular/core'; import { Routes, RouterModule } from '@angular/router'; -import {AlarmRule} from './correlation-ruleList/alarmRule.component'; -import {RuleInfo} from './correlation-ruleInfo/ruleInfo.component' +import { AlarmRule } from './correlation-ruleList/alarmRule.component'; +import { RuleInfo } from './correlation-ruleInfo/ruleInfo.component'; const appRoutes: Routes = [ { path: 'alarmRule', - component:AlarmRule + component: AlarmRule }, { path: 'ruleInfo', @@ -31,10 +31,10 @@ const appRoutes: Routes = [ component: RuleInfo }, { - path:'', - redirectTo:'alarmRule', + path: '', + redirectTo: 'alarmRule', pathMatch: 'full' }, ]; -export const routing: ModuleWithProviders = RouterModule.forRoot(appRoutes,{ useHash: true }); +export const routing: ModuleWithProviders = RouterModule.forRoot(appRoutes, { useHash: true }); |