fix URL controller

This commit is contained in:
rolux 2013-02-19 17:12:16 +05:30
parent 89ef5d5bbc
commit 6a17a94603

View file

@ -501,7 +501,7 @@ Ox.URL = function(options) {
}
}
return '/' + Ox.filter(parts).join('/')
+ (!Ox.isEmpty(state.hash) ? '#' + constructHash(state.hash) : '');
+ (state.hash ? '#' + constructHash(state.hash) : '');
}
function constructValue(str, key) {