quirkey / sammy

Sammy is a tiny javascript framework built on top of jQuery, It's RESTful Evented Javascript.
http://sammyjs.org
MIT License
2.99k stars 384 forks source link

How to reload router when on the same route? #265

Open benag opened 6 years ago

benag commented 6 years ago

How to reload router when on the same route?

modder2 commented 5 years ago

@benag From application context call refresh() function:

this.refresh();

http://sammyjs.org/docs/api/master/all#Sammy.Application-refresh