Fix error response.

This commit is contained in:
takezoe
2013-06-05 03:01:51 +09:00
parent 4d5ce740c4
commit b3e76db227
4 changed files with 28 additions and 18 deletions

View File

@@ -26,6 +26,9 @@ abstract class ControllerBase extends ScalatraFilter with ClientSideValidationFo
}
}
protected def NotFound() = redirect("/")
protected def Unauthorized() = redirect("/")
}
case class Context(path: String, loginAccount: Option[Account])