Dynamic links on IonPage redirects to parent


#1

I am using dynamic links as showed here:

it works ok, but if i copy this url:

http://localhost:8100/#/home/today/event/234

and paste it directly in the browser, it goes to the parent:

http://localhost:8100/#/home/today

This is the configuration in the event @IonPage decorator:

@IonicPage({
   segment: "event/:id"  ,
   defaultHistory: ['HomePage'] 
})

my project uses “ionic-angular”: “3.3.0”