diff options
author | schencej <schencej@clarkson.edu> | 2019-12-12 11:56:57 -0500 |
---|---|---|
committer | schencej <schencej@clarkson.edu> | 2019-12-12 11:56:57 -0500 |
commit | 47254348140fce18c985e9a0ffb592390b226c80 (patch) | |
tree | 407d7c52ad55a02f006b095be71ff1056864766e /recipeBuddy/src/app/app-routing.module.ts | |
parent | 946512c32a3b94079c9d2aaf48ef16d09fd14e3d (diff) |
added main page
Diffstat (limited to 'recipeBuddy/src/app/app-routing.module.ts')
-rw-r--r-- | recipeBuddy/src/app/app-routing.module.ts | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/recipeBuddy/src/app/app-routing.module.ts b/recipeBuddy/src/app/app-routing.module.ts index ae67546..c2d381d 100644 --- a/recipeBuddy/src/app/app-routing.module.ts +++ b/recipeBuddy/src/app/app-routing.module.ts @@ -6,14 +6,16 @@ import { PreCookPopUpComponent } from './pre-cook-pop-up/pre-cook-pop-up.compone import { AddRecipeComponent } from './add-recipe/add-recipe.component'; import { EditRecipeComponent } from './edit-recipe/edit-recipe.component'; import { ShoppingCartComponent } from './shopping-cart/shopping-cart.component'; +import { RecipeCardComponent } from './recipe-card/recipe-card.component'; const routes: Routes = [ - { path: '', redirectTo: '/cook', pathMatch: 'full' }, + { path: '', redirectTo: '/main', pathMatch: 'full' }, + { path: 'main', component: RecipeCardComponent }, { path: 'preCook' , component: PreCookPopUpComponent }, { path: 'add', component: AddRecipeComponent }, { path: 'cook', component: CookPageComponent }, { path: 'edit', component: EditRecipeComponent }, - { path: 'cart', component: ShoppingCartComponent } + { path: 'cart', component: ShoppingCartComponent }, ]; @NgModule({ |