summaryrefslogtreecommitdiff
path: root/recipeBuddy/src/app/app-routing.module.ts
diff options
context:
space:
mode:
Diffstat (limited to 'recipeBuddy/src/app/app-routing.module.ts')
-rw-r--r--recipeBuddy/src/app/app-routing.module.ts6
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 a6e4399..a6b69bd 100644
--- a/recipeBuddy/src/app/app-routing.module.ts
+++ b/recipeBuddy/src/app/app-routing.module.ts
@@ -2,10 +2,12 @@ import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import { CookPageComponent } from './cook-page/cook-page.component';
+import { RecipeCardComponent } from './recipe-card/recipe-card.component';
const routes: Routes = [
- { path: '', redirectTo: '/cook', pathMatch: 'full' },
- { path: 'cook', component: CookPageComponent }
+ { path: '', redirectTo: '/main', pathMatch: 'full' },
+ { path: 'cook', component: CookPageComponent },
+ { path: 'main', component: RecipeCardComponent }
];
@NgModule({