import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { SupplementComponent } from './supplement/supplement.component';
import { AuthGuard } from '../auth.guard';

const routes: Routes = [
  { path: '', component: SupplementComponent, canActivate: [AuthGuard] },
  { path: 'supplement', component: SupplementComponent, canActivate: [AuthGuard] },
];

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