Skip to content

Commit

Permalink
Merge pull request #9928 from codeconsole/9926
Browse files Browse the repository at this point in the history
Allow restful POST updates #9926
  • Loading branch information
graemerocher committed May 26, 2016
2 parents 3394345 + 9233ce5 commit 0ac8a21
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -35,7 +35,7 @@ import org.springframework.http.HttpStatus
@Artefact("Controller")
@Transactional(readOnly = true)
class RestfulController<T> {
static allowedMethods = [save: "POST", update: "PUT", patch: "PATCH", delete: "DELETE"]
static allowedMethods = [save: "POST", update: ["PUT", "POST"], patch: "PATCH", delete: "DELETE"]

Class<T> resource
String resourceName
Expand Down

0 comments on commit 0ac8a21

Please sign in to comment.