import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { CareerHistoryComponent } from './career-history/career-history.component';
import { PersonalDataComponent } from './career-history/personal-data/personal-data.component';

const routes: Routes = [
    {
        path: '',
        component: CareerHistoryComponent,
        children: [
            {
                path: 'personal-data',
                component: PersonalDataComponent
            }
        ]
    }
];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule]
})
export class CareerHistoryRouting { }
