my simple routing is not working and I don't know why... The command below reported load the PageNotFoundComponent instead of OffertDetailComponent
app.routing
{
path: "OffertDetail/:idOffert",
component: OffertDetailComponent
},
{
path: '**',
component: PageNotFoundComponent
}
route command
this.router.navigate(['OffertDetail', {idOffert: 1073}]);
If i remove the "/idOffert" from ap.Routing and the parameter from the command, the component loads properly.
Thanks to support