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

export const MERCHANTS_ROUTES: Routes = [
  {
    path: 'merchants',
    canActivate: [authGuard, roleGuard],
    component: Merchants,
    data: { 
      title: 'Gestion partenaires',
    }
  }
];