Add wiki pages.

This commit is contained in:
takezoe
2013-05-02 09:17:14 +09:00
parent ac1b42eb5d
commit 613f03ef32
6 changed files with 47 additions and 14 deletions

View File

@@ -60,4 +60,12 @@ class WikiController extends ControllerBase {
html.wikiedit("", None,
JGitUtil.getRepositoryInfo(owner, repository, servletContext))
}
get("/:owner/:repository/wiki/_pages"){
val owner = params("owner")
val repository = params("repository")
html.wikipages(WikiUtil.getPageList(owner, repository),
JGitUtil.getRepositoryInfo(owner, repository, servletContext))
}
}