Merge some controllers because a large amount mapping causes performance issue

This commit is contained in:
Naoki Takezoe
2016-02-22 01:33:38 +09:00
parent 8981e339b4
commit 8eee13d7aa
6 changed files with 55 additions and 74 deletions

View File

@@ -27,12 +27,10 @@ class ScalatraBootstrap extends LifeCycle {
}
context.mount(new IndexController, "/")
context.mount(new SearchController, "/")
context.mount(new FileUploadController, "/upload")
context.mount(new DashboardController, "/*")
context.mount(new UserManagementController, "/*")
context.mount(new SystemSettingsController, "/*")
context.mount(new PluginsController, "/*")
context.mount(new AccountController, "/*")
context.mount(new RepositoryViewerController, "/*")
context.mount(new WikiController, "/*")