2019-03-08 10:43:54 +01:00
|
|
|
import { NgModule } from '@angular/core';
|
2019-07-26 11:46:59 +02:00
|
|
|
import { RouterModule, Routes } from '@angular/router';
|
2019-03-08 10:43:54 +01:00
|
|
|
|
|
|
|
import { AmendmentCreateWizardComponent } from './components/amendment-create-wizard/amendment-create-wizard.component';
|
2019-07-26 11:46:59 +02:00
|
|
|
import { MotionDetailComponent } from './components/motion-detail/motion-detail.component';
|
2019-03-08 10:43:54 +01:00
|
|
|
|
|
|
|
const routes: Routes = [
|
2019-03-13 15:16:06 +01:00
|
|
|
{ path: '', component: MotionDetailComponent, pathMatch: 'full', runGuardsAndResolvers: 'paramsChange' },
|
2019-03-08 10:43:54 +01:00
|
|
|
{ path: 'create-amendment', component: AmendmentCreateWizardComponent }
|
|
|
|
];
|
|
|
|
|
|
|
|
@NgModule({
|
|
|
|
imports: [RouterModule.forChild(routes)],
|
|
|
|
exports: [RouterModule]
|
|
|
|
})
|
|
|
|
export class MotionDetailRoutingModule {}
|