For example, I have this:
Path.map("#!/login").to(function(){
alert("called");
$.ajax({
url: '/login',
type: 'GET',
data: {
},
success: function(msg) {
$('#' + main_window).html(msg);
}
})
});
Which makes my URL to: http://www.domain.com/#!/login. However once loaded, there is no way to "refresh" the url- hitting enter in the address bar or clicking a link with that path won't execute the Path. Does anyone know if this is an issue or if I'm doing it wrong?