summaryrefslogtreecommitdiff
path: root/recipeBuddy/src/app/app-routing.module.ts
diff options
context:
space:
mode:
authorJacob <gatelyjm@clarkson.edu>2019-12-09 07:37:40 -0500
committerJacob <gatelyjm@clarkson.edu>2019-12-09 07:37:40 -0500
commit1b23ba09800009f484b9ab6a49a5626b0baaf504 (patch)
treead59b70ef89202b71181382a3d40a468705b535c /recipeBuddy/src/app/app-routing.module.ts
parentc6afa531481b664950406df6cea17794942d8028 (diff)
Initial commit for main page work in progress. Trying to figure out
infinite scroll
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({