diff options
author | Chris Undercoffer <undercofferch18@gmail.com> | 2019-12-11 17:16:18 -0500 |
---|---|---|
committer | Chris Undercoffer <undercofferch18@gmail.com> | 2019-12-11 17:16:18 -0500 |
commit | ecda7b74d1e52edc29493dcc15dec85a5ad0ef8f (patch) | |
tree | 20b32512f38b4331fc103aa1bb6c122143298d05 /recipeBuddy/src/app/app-routing.module.ts | |
parent | 657e2307fdf4593e27c34f2b5289b2f2333f37b2 (diff) |
Add routing and imports for shopping cart
Diffstat (limited to 'recipeBuddy/src/app/app-routing.module.ts')
-rw-r--r-- | recipeBuddy/src/app/app-routing.module.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/recipeBuddy/src/app/app-routing.module.ts b/recipeBuddy/src/app/app-routing.module.ts index 0084f01..ae67546 100644 --- a/recipeBuddy/src/app/app-routing.module.ts +++ b/recipeBuddy/src/app/app-routing.module.ts @@ -5,6 +5,7 @@ import { CookPageComponent } from './cook-page/cook-page.component'; import { PreCookPopUpComponent } from './pre-cook-pop-up/pre-cook-pop-up.component'; import { AddRecipeComponent } from './add-recipe/add-recipe.component'; import { EditRecipeComponent } from './edit-recipe/edit-recipe.component'; +import { ShoppingCartComponent } from './shopping-cart/shopping-cart.component'; const routes: Routes = [ { path: '', redirectTo: '/cook', pathMatch: 'full' }, @@ -12,6 +13,7 @@ const routes: Routes = [ { path: 'add', component: AddRecipeComponent }, { path: 'cook', component: CookPageComponent }, { path: 'edit', component: EditRecipeComponent }, + { path: 'cart', component: ShoppingCartComponent } ]; @NgModule({ |