Closed gaillota closed 7 years ago
Hey guys,
I have a redirection like this
FlowRouter.route('/', { name: 'public.index', action() { FlowRouter.go('somewhere-else'); } });
When my application starts, the redirection works perfectly fine and I land on /somewhere-else. But when I click on a link with the {{pathFor 'public.index'}}, the redirection happens but the URL doesn't change and stays /.
/somewhere-else
{{pathFor 'public.index'}}
/
Any idea why ?
Maybe try redirecting with triggers
https://github.com/kadirahq/flow-router#redirecting-with-triggers
Yes, I tried to use triggers and it worked. I forgot about this issue, sorry. Thanks for the help anyway.
Hey guys,
I have a redirection like this
When my application starts, the redirection works perfectly fine and I land on
/somewhere-else
. But when I click on a link with the{{pathFor 'public.index'}}
, the redirection happens but the URL doesn't change and stays/
.Any idea why ?