Skip to content

Commit

Permalink
avoid double / in wiki links
Browse files Browse the repository at this point in the history
  • Loading branch information
jstrachan committed Oct 15, 2013
1 parent 330aff0 commit 951fac6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hawtio-web/src/main/webapp/app/wiki/js/helpers.ts
Expand Up @@ -145,7 +145,7 @@ module Wiki {
var link = null;
var start = startLink(branch);
if (pageId) {
link = start + "/view/" + pageId;
link = start + "/view/" + Core.trimLeading(pageId, "/");
} else {
// lets use the current path
var path = $location.path();
Expand Down

0 comments on commit 951fac6

Please sign in to comment.