Upgrade scalatra-forms to 0.0.8.

This commit is contained in:
takezoe
2013-11-14 04:04:29 +09:00
parent cf84e8b7cc
commit 43152c9341
2 changed files with 3 additions and 3 deletions

View File

@@ -72,7 +72,7 @@ abstract class ControllerBase extends ScalatraFilter
action
}
override def ajaxGet[T](path : String, form : MappingValueType[T])(action : T => Any) : Route =
override def ajaxGet[T](path : String, form : ValueType[T])(action : T => Any) : Route =
super.ajaxGet(path, form){ form =>
request.setAttribute(Keys.Request.Ajax, "true")
action(form)
@@ -84,7 +84,7 @@ abstract class ControllerBase extends ScalatraFilter
action
}
override def ajaxPost[T](path : String, form : MappingValueType[T])(action : T => Any) : Route =
override def ajaxPost[T](path : String, form : ValueType[T])(action : T => Any) : Route =
super.ajaxPost(path, form){ form =>
request.setAttribute(Keys.Request.Ajax, "true")
action(form)