Skip to content
Snippets Groups Projects
Commit 1167b1ae authored by Pegane Nestor's avatar Pegane Nestor
Browse files

Modif paramètre

parent c2865209
No related branches found
No related tags found
No related merge requests found
......@@ -29,10 +29,9 @@ AppModule = __decorate([
forms_1.FormsModule,
router_1.RouterModule.forRoot([
{ path: 'profile', component: profile_component_1.ProfileComponent },
{ path: 'parameter/create', component: parameter_component_1.ParameterComponent },
{ path: 'parameter/update/:id', component: parameter_component_1.ParameterComponent },
{ path: 'parameter/delete/:id', component: parameter_component_1.ParameterComponent },
{ path: 'parameter/list', component: parameters_component_1.ParametersComponent },
{ path: 'administration/parameter/create', component: parameter_component_1.ParameterComponent },
{ path: 'administration/parameter/update/:id', component: parameter_component_1.ParameterComponent },
{ path: 'parameters', component: parameters_component_1.ParametersComponent },
{ path: ':basketId/signatureBook/:resId', component: signature_book_component_1.SignatureBookComponent },
{ path: '**', redirectTo: '', pathMatch: 'full' },
], { useHash: true }),
......
......@@ -17,10 +17,9 @@ import { SignatureBookComponent, SafeUrlPipe } from './signature-book.component
FormsModule,
RouterModule.forRoot([
{ path: 'profile', component: ProfileComponent },
{ path: 'parameter/create', component: ParameterComponent },
{ path: 'parameter/update/:id', component: ParameterComponent },
{ path: 'parameter/delete/:id', component: ParameterComponent },
{ path: 'parameter/list', component: ParametersComponent },
{ path: 'administration/parameter/create', component: ParameterComponent },
{ path: 'administration/parameter/update/:id', component: ParameterComponent },
{ path: 'parameters', component: ParametersComponent },
{ path: ':basketId/signatureBook/:resId', component: SignatureBookComponent },
{ path: '**', redirectTo: '', pathMatch: 'full' },
], { useHash: true }),
......
......@@ -128,7 +128,7 @@ var ParameterComponent = (function () {
$j("#resultInfo").fadeTo(3000, 500).slideUp(500, function () {
$j("#resultInfo").slideUp(500);
});
_this.router.navigate(['/parameter/list']);
_this.router.navigate(['/parameters']);
}
});
}
......@@ -162,7 +162,7 @@ var ParameterComponent = (function () {
$j("#resultInfo").fadeTo(3000, 500).slideUp(500, function () {
$j("#resultInfo").slideUp(500);
});
_this.router.navigate(['/parameter/list']);
_this.router.navigate(['/parameters']);
}
});
}
......
......@@ -130,7 +130,7 @@ export class ParameterComponent implements OnInit {
$j("#resultInfo").fadeTo(3000, 500).slideUp(500, function(){
$j("#resultInfo").slideUp(500);
});
this.router.navigate(['/parameter/list']);
this.router.navigate(['/parameters']);
}
});
......@@ -164,7 +164,7 @@ export class ParameterComponent implements OnInit {
$j("#resultInfo").fadeTo(3000, 500).slideUp(500, function(){
$j("#resultInfo").slideUp(500);
});
this.router.navigate(['/parameter/list']);
this.router.navigate(['/parameters']);
}
});
}
......
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment