import { Routes } from '@angular/router';
import { Settings } from './settings';
import { authGuard } from '../../core/guards/auth.guard';
import { roleGuard } from '../../core/guards/role.guard';

export const SETTINGS_ROUTES: Routes = [
  {
    path: 'settings',
    canActivate: [authGuard, roleGuard],
    component: Settings,
    data: { 
      title: 'Configuration',
    }
  }
];