2020-05-12 19:16:23 +02:00
|
|
|
import { NgModule } from '@angular/core';
|
|
|
|
import { RouterModule, Routes } from '@angular/router';
|
|
|
|
|
|
|
|
import { ConsultationComponent } from './consultation.component';
|
|
|
|
|
|
|
|
const routes: Routes = [
|
2021-04-29 10:17:13 +02:00
|
|
|
{
|
2021-04-29 10:41:47 +02:00
|
|
|
path: '',
|
2021-04-29 10:17:13 +02:00
|
|
|
component: ConsultationComponent,
|
2021-06-07 11:30:10 +02:00
|
|
|
children: [
|
|
|
|
{ path: '/', component: ConsultationComponent },
|
|
|
|
{ path: '/:pass_hash', component: ConsultationComponent },
|
|
|
|
],
|
2021-04-29 10:17:13 +02:00
|
|
|
},
|
2020-05-12 19:16:23 +02:00
|
|
|
];
|
|
|
|
@NgModule({
|
|
|
|
imports: [RouterModule.forChild(routes)],
|
|
|
|
exports: [RouterModule],
|
|
|
|
})
|
|
|
|
export class ConsultationRoutingModule {}
|