grails-plugins/grails-scaffolding — pull request #7 by robbugh (2013-12-13 21:34:14+00:00)
Title: Added support for Restful controllers. The generate-restful-controller

This command will create a restful controller and unit test. This means:
1) Assumes the UrlMapping for the domain class follows the restful pattern: "/domains"(resources:'domain')
2) Assumes the allowed Methods are: [index: "GET", save: "POST", update: "PUT", delete: "DELETE"]
2) Supports only JSON and XML responses.