Changeset 59329aa for trip-planner-front/src/app/app-routing.module.ts
- Timestamp:
- 11/23/21 14:58:44 (3 years ago)
- Branches:
- master
- Children:
- e29cc2e
- Parents:
- ceaed42
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trip-planner-front/src/app/app-routing.module.ts
rceaed42 r59329aa 1 1 import { NgModule } from '@angular/core'; 2 2 import { RouterModule, Routes } from '@angular/router'; 3 import { HomepageComponent } from './homepage/homepage.component'; 4 import { LocationDetailsComponent } from './location/location-details/location-details.component'; 3 5 import { LocationComponent } from './location/location.component'; 4 6 import { LocationsFormComponent } from './locations-form/locations-form.component'; … … 10 12 {path: 'form', component: LocationsFormComponent}, 11 13 {path: 'edit/planner/:id', component: EditPlannerComponent}, 12 {path: 'locations', component: LocationComponent} 14 {path: 'locations', component: LocationComponent}, 15 {path: '', component: HomepageComponent}, 16 {path: 'location', component: LocationDetailsComponent} 13 17 ]; 14 18
Note:
See TracChangeset
for help on using the changeset viewer.