I tried to add a dynamic segment, which should be optional for my application, firstly, I did not know that they could not be optional with the syntax: param, and I started to get a strange not descriptive error from my templates of all things
Uncaught TypeError: Cannot read property 'shouldSupercede' of undefined
It took me more than an hour to understand what was happening, and no matter how I tried to make the parameter optional with the * param and (: param) parameter, but I could not.
This is a huge problem. If someone knows the right way to do this, I will be very grateful
mobetta
source share