I tried to add dynamic segment which should be optional for my app, first thing is I didn’t know they cannot be optional with the
:param syntax, and I started getting a strange non descriptive error out of my templates of all things
Uncaught TypeError: Cannot read property 'shouldSupercede' of undefined
It took me over an hour to realize what’s going on and no matter how much I tried to make the param optional with
(:param), but I could not.
This is a huge problem. If anyone knows the proper way to do this I’ll be very grateful