Changeset 6a80231 for trip-planner-front/src/app/app-routing.module.ts
- Timestamp:
- 11/02/21 22:14:57 (3 years ago)
- Branches:
- master
- Children:
- 6c1585f
- Parents:
- 188ee53
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trip-planner-front/src/app/app-routing.module.ts
r188ee53 r6a80231 1 1 import { NgModule } from '@angular/core'; 2 2 import { RouterModule, Routes } from '@angular/router'; 3 import { LocationsFormComponent } from './locations-form/locations-form.component'; 4 import { EditPlannerComponent } from './planner/edit-planner/edit-planner.component'; 5 import { PlannerComponent } from './planner/planner.component'; 3 6 4 const routes: Routes = []; 7 const routes: Routes = [ 8 {path: 'planners', component: PlannerComponent}, 9 {path: 'form', component: LocationsFormComponent}, 10 {path: 'edit/planner/:id', component: EditPlannerComponent} 11 ]; 5 12 6 13 @NgModule({
Note:
See TracChangeset
for help on using the changeset viewer.