From 2b43753e546b85ad3aea411df9636b23153fb9d8 Mon Sep 17 00:00:00 2001 From: schencej Date: Mon, 9 Dec 2019 17:46:39 -0500 Subject: added pre cooking page --- recipeBuddy/src/app/app-routing.module.ts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'recipeBuddy/src/app/app-routing.module.ts') diff --git a/recipeBuddy/src/app/app-routing.module.ts b/recipeBuddy/src/app/app-routing.module.ts index a6e4399..3e4d67a 100644 --- a/recipeBuddy/src/app/app-routing.module.ts +++ b/recipeBuddy/src/app/app-routing.module.ts @@ -2,9 +2,11 @@ import { NgModule } from '@angular/core'; import { RouterModule, Routes } from '@angular/router'; import { CookPageComponent } from './cook-page/cook-page.component'; +import { PreCookPopUpComponent } from './pre-cook-pop-up/pre-cook-pop-up.component'; const routes: Routes = [ { path: '', redirectTo: '/cook', pathMatch: 'full' }, + {path: 'preCook' , component: PreCookPopUpComponent }, { path: 'cook', component: CookPageComponent } ]; -- cgit v1.1 From 10e1f5849fb7f64dd188f08b5e5f682d0b162777 Mon Sep 17 00:00:00 2001 From: schencej Date: Tue, 10 Dec 2019 22:24:09 -0500 Subject: fixed recipe pass service --- recipeBuddy/src/app/app-routing.module.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'recipeBuddy/src/app/app-routing.module.ts') 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] -- cgit v1.1