Skip to content

Commit

Permalink
fix gremlin preventing the browsing of the root directory
Browse files Browse the repository at this point in the history
  • Loading branch information
jstrachan committed May 16, 2013
1 parent 8461052 commit 5e94c92
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion hawtio-web/src/main/webapp/app/wiki/js/wikiRepository.ts
Expand Up @@ -14,7 +14,8 @@ module Wiki {

public getPage(path:string, objectId:string, fn) {
var git = this.git();
if (git && path) {
path = path || "/";
if (git) {
if (objectId) {
var blobPath = this.getLogPath(path);
// TODO deal with versioned directories?
Expand Down

0 comments on commit 5e94c92

Please sign in to comment.