Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fixes #475
  • Loading branch information
jstrachan committed Aug 14, 2013
1 parent b620719 commit 792c8ab
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion hawtio-web/src/main/webapp/app/wiki/js/wikiPlugin.ts
Expand Up @@ -6,6 +6,7 @@ module Wiki {
// allow optional branch paths...
angular.forEach(["", "/branch/:branch"], (path) => {
$routeProvider.
when('/wiki' + path + '/view', {templateUrl: 'app/wiki/html/viewPage.html'}).
when('/wiki' + path + '/view/*page', {templateUrl: 'app/wiki/html/viewPage.html'}).
when('/wiki' + path + '/create/*page', {templateUrl: 'app/wiki/html/createPage.html'}).
when('/wiki' + path + '/edit/*page', {templateUrl: 'app/wiki/html/editPage.html'}).
Expand Down Expand Up @@ -53,7 +54,7 @@ module Wiki {
content: "Wiki",
title: "View and edit wiki pages",
isValid: (workspace:Workspace) => Git.createGitRepository(workspace, jolokia, localStorage) !== null,
href: () => "#/wiki/view/wiki",
href: () => "#/wiki/view",
isActive: (workspace:Workspace) => workspace.isLinkActive("/wiki")
});
});
Expand Down

0 comments on commit 792c8ab

Please sign in to comment.