Fixed crumbs to prepend / rather than append - this led to issues in navigation.

master
kts of kettek 2015-10-11 23:44:26 -07:00
parent 23aead1e95
commit 615621e210
1 changed files with 1 additions and 1 deletions

View File

@ -425,7 +425,7 @@ qwiki.rule('', '@@CRUMBS@@', function(req, res, instance, next) {
var path = '';
parts[0] = '>';
for (var i = 0; i < parts.length; i++) {
path += (i == 0 ? '' : parts[i])+(i == parts.length-1 ? '' : '/');
path += '/' + (i == 0 ? '' : parts[i]);
res.write('<li><a href="'+path+'">'+parts[i]+'</a></li>');
}
next();