kadirahq / flow-router

Carefully Designed Client Side Router for Meteor

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[SOLVED] Redirect doesn't change the path

gaillota opened this issue · comments

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 /.

Any idea why ?

Yes, I tried to use triggers and it worked.
I forgot about this issue, sorry.
Thanks for the help anyway.