(refs #3)Separate search actions to SearchController.

This commit is contained in:
takezoe
2013-07-22 17:28:13 +09:00
parent 6fd1a990ae
commit ace5d7de9e
5 changed files with 59 additions and 43 deletions

View File

@@ -5,6 +5,7 @@ import javax.servlet._
class ScalatraBootstrap extends LifeCycle {
override def init(context: ServletContext) {
context.mount(new IndexController, "/")
context.mount(new SearchController, "/")
context.mount(new FileUploadController, "/upload")
context.mount(new SignInController, "/*")
context.mount(new UserManagementController, "/*")