Is there a way to trigger same location route in backbone.js, for example when location is /My/App/#/About
and user clicks again on anchor with the same route in order to refresh the page content.
Backbone.history.loadUrl(Backbone.history.fragment);
The solution for your specific problem isn't really documented and it seems the suggested best practice is to just call the function that is declared in the route you want to fire :/
Ref: https://github.com/documentcloud/backbone/issues/1214
So far the other answers are correct, but they forgot to mention that if the hash navigated to is the same as the current hash, nothing will fire.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With