jquery-routes
jquery-routes copied to clipboard
Change hash to ( #! )
Hi How can replace # in route to #! Like exemple.com/#!/home/
Say for the moment you have a home
route defined like so:
$.routes.add('/home/', loadHome);
If you want to add a !
to the URL you need to add it behind the first slash:
$.routes.add('!/home/', 'loadHome);