grails-plugins/grails-scaffolding — pull request #8 by robbugh (2013-12-14 03:49:05+00:00)
Title: Added support for Restful controllers. Added generate-restful-controller

This command will create a restful controller and unit test. This means:
1) It assumes (but leaves it to the user to make the changes) the UrlMapping for the domain class follows the restful pattern: "/domains"(resources:'domain')
2) It set the allowed Methods to: [index: "GET", save: "POST", update: "PUT", delete: "DELETE"]
3) It supports only JSON and XML responses.

Rob