summaryrefslogtreecommitdiffstats
path: root/rulemgt-frontend/src/app/app.routing.ts
diff options
context:
space:
mode:
authorGuangrongFu <fu.guangrong@zte.com.cn>2018-07-30 11:06:58 +0800
committerGuangrongFu <fu.guangrong@zte.com.cn>2018-07-30 11:06:58 +0800
commit0a6e32dbdb5d505536d33a3539f7b9fcfba1cffe (patch)
treea0684da6261bd8e0e3897203ca4efaff4d4da088 /rulemgt-frontend/src/app/app.routing.ts
parentfb0d4ea03ce4150861d921ba96cf0d3466491bca (diff)
Added Menu Items
Change-Id: Iab5d4c3be6e3db846bb0077221ec7d7ecbeb0315 Issue-ID: HOLMES-150 Signed-off-by: GuangrongFu <fu.guangrong@zte.com.cn>
Diffstat (limited to 'rulemgt-frontend/src/app/app.routing.ts')
-rw-r--r--rulemgt-frontend/src/app/app.routing.ts16
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 });