summaryrefslogtreecommitdiff
path: root/recipeBuddy/src/app/app-routing.module.ts
diff options
context:
space:
mode:
authorschencej <55326070+schencej@users.noreply.github.com>2019-12-10 17:30:39 -0500
committerGitHub <noreply@github.com>2019-12-10 17:30:39 -0500
commit3fd5630cae141bf49537537315d23bdbf92f8493 (patch)
treee2957affc5e2e1e5f07dffae09abf896974ff54d /recipeBuddy/src/app/app-routing.module.ts
parent8de14b3da7ec0dad8b02f5ca7a0e336c78d22522 (diff)
parentd8e99623986708c7b64984f8bf638a9fbec4a3d2 (diff)
Merge pull request #20 from tuckerevans/edit-page
Add edit-recipe form/page
Diffstat (limited to 'recipeBuddy/src/app/app-routing.module.ts')
-rw-r--r--recipeBuddy/src/app/app-routing.module.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/recipeBuddy/src/app/app-routing.module.ts b/recipeBuddy/src/app/app-routing.module.ts
index bb7c96e..9620f04 100644
--- a/recipeBuddy/src/app/app-routing.module.ts
+++ b/recipeBuddy/src/app/app-routing.module.ts
@@ -3,11 +3,13 @@ import { RouterModule, Routes } from '@angular/router';
import { CookPageComponent } from './cook-page/cook-page.component';
import { AddRecipeComponent } from './add-recipe/add-recipe.component';
+import { EditRecipeComponent } from './edit-recipe/edit-recipe.component';
const routes: Routes = [
{ path: '', redirectTo: '/cook', pathMatch: 'full' },
{ path: 'cook', component: CookPageComponent },
- { path: 'add', component: AddRecipeComponent }
+ { path: 'add', component: AddRecipeComponent },
+ { path: 'edit', component: EditRecipeComponent },
];
@NgModule({