Added the index page which is used while in development.

This commit is contained in:
takezoe
2013-05-03 14:04:31 +09:00
parent 8fa1b36aa0
commit 0c3a301f24
8 changed files with 35 additions and 13 deletions

View File

@@ -4,8 +4,9 @@ import javax.servlet._
class ScalatraBootstrap extends LifeCycle {
override def init(context: ServletContext) {
context.mount(new CreateRepositoryController, "/new")
context.mount(new IndexController, "/")
context.mount(new WikiController, "/*")
context.mount(new CreateRepositoryController, "/*")
context.mount(new RepositoryViewerController, "/*")
context.addListener(new ServletContextListener(){