summaryrefslogtreecommitdiff
path: root/recipeBuddy/src/app/app-routing.module.ts
diff options
context:
space:
mode:
authorTucker Evans <tuckerevans24@gmail.com>2019-12-11 17:19:23 -0500
committerGitHub <noreply@github.com>2019-12-11 17:19:23 -0500
commit09aea62746e50d8284dc234692e7641cca03cc42 (patch)
tree20b32512f38b4331fc103aa1bb6c122143298d05 /recipeBuddy/src/app/app-routing.module.ts
parent657e2307fdf4593e27c34f2b5289b2f2333f37b2 (diff)
parentecda7b74d1e52edc29493dcc15dec85a5ad0ef8f (diff)
Merge pull request #25 from tuckerevans/imports
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.ts2
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({