summaryrefslogtreecommitdiff
path: root/recipeBuddy/src/app/app-routing.module.ts
diff options
context:
space:
mode:
authorTucker Evans <tuckerevans24@gmail.com>2019-12-07 15:05:42 -0500
committerTucker Evans <tuckerevans24@gmail.com>2019-12-07 15:05:42 -0500
commitac33c29faf55b640066641d2c328d841fa3e593b (patch)
tree81d53524e0decc1e8b7e3c2fab59aed0135a056b /recipeBuddy/src/app/app-routing.module.ts
parent33ff048f5efb30e767780f24424588af562ea400 (diff)
parentcafe1b4fd3cc02554f44ffbaa8467d867a6838cb (diff)
Merge commit 'cafe1b4fd3cc02554f44ffbaa8467d867a6838cb' into chrisundercoffer
Diffstat (limited to 'recipeBuddy/src/app/app-routing.module.ts')
-rw-r--r--recipeBuddy/src/app/app-routing.module.ts15
1 files changed, 15 insertions, 0 deletions
diff --git a/recipeBuddy/src/app/app-routing.module.ts b/recipeBuddy/src/app/app-routing.module.ts
new file mode 100644
index 0000000..a6e4399
--- /dev/null
+++ b/recipeBuddy/src/app/app-routing.module.ts
@@ -0,0 +1,15 @@
+import { NgModule } from '@angular/core';
+import { RouterModule, Routes } from '@angular/router';
+
+import { CookPageComponent } from './cook-page/cook-page.component';
+
+const routes: Routes = [
+ { path: '', redirectTo: '/cook', pathMatch: 'full' },
+ { path: 'cook', component: CookPageComponent }
+];
+
+@NgModule({
+ imports: [RouterModule.forRoot(routes)],
+ exports: [RouterModule]
+})
+export class AppRoutingModule { }