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

const routes: Routes = [
    {
        path: 'update',
        component: PublishComponent
    },
    {
        path: ':screen',
        component: CareerHistoryComponent
    }
];

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