|
|
|
@ -13,7 +13,8 @@ import { CarteEnvoyerComponent } from './components/carteParrainage/carte-envoye
|
|
|
|
|
|
|
|
|
|
import {AuthGuard} from './core/auth.guard';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import { ListeOpCommercialComponent } from './components/admin/liste-op-commercial/liste-op-commercial.component';
|
|
|
|
|
import { DemandeOpCommercialComponent } from './components/admin/demande-op-commercial/demande-op-commercial.component';
|
|
|
|
|
|
|
|
|
|
export const AppRoutes = [
|
|
|
|
|
{path: '', component: HomeComponent},
|
|
|
|
@ -27,5 +28,7 @@ export const AppRoutes = [
|
|
|
|
|
{path: 'scannerCarte/:idOp', component: ScannerCarteComponent, canActivate: [AuthGuard]},
|
|
|
|
|
{path: 'debiterCarte/:idOp', component: DebiterCarteComponent, canActivate: [AuthGuard]},
|
|
|
|
|
{path: 'editProfil', component: EditProfilComponent, canActivate: [AuthGuard]},
|
|
|
|
|
{path: 'historiqueCarte', component: CarteEnvoyerComponent, canActivate: [AuthGuard]}
|
|
|
|
|
{path: 'historiqueCarte', component: CarteEnvoyerComponent, canActivate: [AuthGuard]},
|
|
|
|
|
{path: 'listOpCommercialAdmin', component: ListeOpCommercialComponent, canActivate: [AuthGuard]},
|
|
|
|
|
{path: 'demandeOpCommercialAdmin', component: DemandeOpCommercialComponent, canActivate: [AuthGuard]}
|
|
|
|
|
];
|
|
|
|
|