diff options
Diffstat (limited to 'recipeBuddy/src/app/app-routing.module.ts')
-rw-r--r-- | recipeBuddy/src/app/app-routing.module.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/recipeBuddy/src/app/app-routing.module.ts b/recipeBuddy/src/app/app-routing.module.ts index 049bf74..8bd5fed 100644 --- a/recipeBuddy/src/app/app-routing.module.ts +++ b/recipeBuddy/src/app/app-routing.module.ts @@ -7,9 +7,11 @@ import { AddRecipeComponent } from './add-recipe/add-recipe.component'; const routes: Routes = [ { path: '', redirectTo: '/cook', pathMatch: 'full' }, - {path: 'preCook' , component: PreCookPopUpComponent }, + { path: 'preCook' , component: PreCookPopUpComponent }, { path: 'add', component: AddRecipeComponent }, { path: 'cook', component: CookPageComponent } +]; + @NgModule({ imports: [RouterModule.forRoot(routes)], exports: [RouterModule] |