I have a meteor app that uses iron-router (if thats still a thing), and I have certain routes such as /signin, /home, /profile, etc. I am wanting any undefined route to be routed to another route that parses the path for a username (basically a short URL/stub).
I tried putting the route with a path of ‘/:_id’ at the bottom after all of the previous routes so that if a path is explicitly defined, it hits that route first, however iron router doesn’t seem to be hitting my last route, and no errors are displayed.
My question is: Is iron-router capable of doing this, or am I way off base here? In either case, is there a suggested implementation?