Change hash to ( #! )
Opened this issue · 1 comments
BeetleTN commented
Hi
How can replace # in route to #! Like
exemple.com/#!/home/
liamjack commented
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);