diff options
author | Tucker Evans <tuckerevans24@gmail.com> | 2019-12-12 11:59:29 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-12 11:59:29 -0500 |
commit | 7d8b3b712274613b20c299efc48e4041e3fc6d72 (patch) | |
tree | 585ffdf67ea07d78efaedbebf42da2e8a446e9cd /recipeBuddy/src/app/app-routing.module.ts | |
parent | afd1a8106feca31ab644fbb412c87eca69bfd737 (diff) | |
parent | 47254348140fce18c985e9a0ffb592390b226c80 (diff) |
Merge pull request #28 from tuckerevans/elim
Elim
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({ |