There doesn't seem to be any way to redirect from one route to another. I.e. I would like all links to /url1 to be automatically be forwarded to /url2
Even if I specify the same route handlers for /url1 and /url2, there still doesn't seem to be a way to update the location displayed by the browser while inside the route handler.
I have tried window.location.pushState, Meteor.Router.to and even window.page.show without success. meteor-router appears to reset the location after handler function returns.
There doesn't seem to be any way to redirect from one route to another. I.e. I would like all links to
/url1
to be automatically be forwarded to/url2
Even if I specify the same route handlers for
/url1
and/url2
, there still doesn't seem to be a way to update the location displayed by the browser while inside the route handler.I have tried
window.location.pushState
,Meteor.Router.to
and evenwindow.page.show
without success. meteor-router appears to reset the location after handler function returns.