import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import { AuthGuard } from '@core/security/auth.guard';
import { PageListPresentationComponent } from './page-list-presentation/page-list-presentation.component';

const routes: Routes = [
  {
    path: '',
    component: PageListPresentationComponent,
    data: { claimType: 'page_list' },
    canActivate: [AuthGuard]
  }
];

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