From 40db6474a1dbb67428996023954b71b99443ad18 Mon Sep 17 00:00:00 2001 From: Niggl Date: Wed, 10 Jun 2020 11:07:57 +0200 Subject: [PATCH] Added Userstories route --- src/app/app-routing.module.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/app/app-routing.module.ts b/src/app/app-routing.module.ts index 06c7342..441ef44 100644 --- a/src/app/app-routing.module.ts +++ b/src/app/app-routing.module.ts @@ -1,8 +1,14 @@ import { NgModule } from '@angular/core'; import { Routes, RouterModule } from '@angular/router'; +import { TaskListComponent } from './task-list/task-list.component'; +import { UserstoryListComponent } from './userstory-list/userstory-list.component'; -const routes: Routes = []; + +const routes: Routes = [ + { path: '/tasks', component: TaskListComponent }, + { path: '/userstories', component: UserstoryListComponent } +]; @NgModule({ imports: [RouterModule.forRoot(routes)],