import { ExtraOptions, Routes } from '@angular/router';
import { RuoliComponent } from './ruoli.component';

export const routerOptions: ExtraOptions = {
  anchorScrolling: 'enabled',
  scrollPositionRestoration: 'enabled',
  paramsInheritanceStrategy: 'always',
};

export const ruoliRoutes: Routes = [
  {
    path: '',
    component: RuoliComponent,
    children: [],
    data: { expectedPrivileges: ['ROLE_MANAGER'] },
  },
];
