diff options
Diffstat (limited to 'app/components/app/app.ts')
-rw-r--r-- | app/components/app/app.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/components/app/app.ts b/app/components/app/app.ts index f9c83e0..1b78861 100644 --- a/app/components/app/app.ts +++ b/app/components/app/app.ts @@ -4,6 +4,7 @@ import {RouteConfig, ROUTER_DIRECTIVES} from 'angular2/router'; import {PlanView} from '../plan-view/plan-view'; import {PlanList} from '../plan-list/plan-list'; import {PlanNew} from '../plan-new/plan-new'; +import {About} from '../about/about'; @Component({ selector: 'app', @@ -16,7 +17,8 @@ import {PlanNew} from '../plan-new/plan-new'; { path: '/', redirectTo: ['/PlanList'] }, { path: '/plans', component: PlanList, name: 'PlanList' }, { path: '/plans/new', component: PlanNew, name: 'PlanNew' }, - { path: '/plans/:id', component: PlanView, name: 'PlanView' } + { path: '/plans/:id', component: PlanView, name: 'PlanView' }, + { path: '/about', component: About, name: 'About'} ]) export class App { } |