mirror of
				https://github.com/gitbucket/gitbucket.git
				synced 2025-10-30 18:15:59 +01:00 
			
		
		
		
	Upgrade scalatra-forms to 0.0.8.
This commit is contained in:
		| @@ -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) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user