Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const aoRoutes: Routes = [
- {
- path: "",
- redirectTo: "/ao/list",
- pathMatch: "full"
- },
- {
- path: "ao",
- component: AppelOffreComponent,
- children: [
- {
- path: "list",
- component: ListAoComponent,
- children: [
- {
- path: "edit/:ao_id",
- component: EditAoComponent
- },
- ..
- ];
- this._aoService
- .updateAO(appelOffre)
- .subscribe(success => {
- this.statusCode = success;
- this.loading = false;
- }, error => (this.statusCode = error));
- this.router.navigate(["../../"], { relativeTo: this.route });
Add Comment
Please, Sign In to add comment