Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redirecting to a different URL #12

Open
pupeno opened this issue Oct 30, 2015 · 1 comment
Open

Redirecting to a different URL #12

pupeno opened this issue Oct 30, 2015 · 1 comment

Comments

@pupeno
Copy link
Contributor

pupeno commented Oct 30, 2015

I tried using set-token! to redirect to a different URL, but it's not triggering the parse url or the dispatch function. It's just replacing the URL. How do I cause the dispatch function to be triggered?

@pupeno
Copy link
Contributor Author

pupeno commented Oct 31, 2015

Actually, the problem only occurs when redirecting back to the same page. So, I'm not sure if this is an issue or not, but in my app I need to re-trigger routing, so I ended up having this workaround:

https://github.com/carouselapps/ninjatools/commit/836bf84e1c83d233c73d00f0e3c50e293e289d38

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant