import { NgModule } from '@angular/core';
import {RouterModule} from '@angular/router';
import {AdminLoginGuard} from "../openaireLibrary/login/adminLoginGuard.guard";
import {EntitiesComponent} from "../openaireLibrary/dashboard/entity/entities.component";

@NgModule({
  imports: [
    RouterModule.forChild([
      { path: '', canActivate: [AdminLoginGuard], component: EntitiesComponent}
    ])
  ]
})
export class EntitiesRoutingModule { }
