diff options
author | Tucker Evans <tuckerevans24@gmail.com> | 2019-12-02 16:43:43 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-02 16:43:43 -0500 |
commit | e3340c8df1892356ecf58116db9e910662554eed (patch) | |
tree | 3240e099653b60e08b762f814efdc65ea27c9b3b /recipeBuddy/src/app/app-routing.module.ts | |
parent | ba3fc1b1ec14035009cbfc642e04fbf1034ce735 (diff) | |
parent | d854dedd5297aaa7901fc2b2b304c8b160830836 (diff) |
Merge branch 'master' into api_json=recipe_object
Diffstat (limited to 'recipeBuddy/src/app/app-routing.module.ts')
-rw-r--r-- | recipeBuddy/src/app/app-routing.module.ts | 15 |
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 { } |