File

src/app/modules/daily-processing/daily-processing-routing.module.ts

import { NgModule } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { RouterModule, Routes } from '@angular/router';
import { CutOffDetailComponent } from './cut-off-detail/cut-off-detail.component';
import { CutOffListComponent } from './cut-off-list/cut-off-list.component';
import { GoodnightRunComponent } from './goodnight-run/goodnight-run.component';
import { RunDetailComponent } from './run-detail/run-detail.component';
const routes: Routes = [
  {
    path: '',
    children: [
      {
        path: '',
        pathMatch: 'full',
        component: CutOffListComponent,
        children: [{ path: 'goodnight', component: GoodnightRunComponent }]
      },
      { path: 'history/:date', component: CutOffListComponent },
      {
        path: 'cutoff/:cutoff',
        component: CutOffDetailComponent,
        children: [{ path: 'runs/:name', component: RunDetailComponent }]
      }
    ]
  }
];

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

result-matching ""

    No results matching ""