urbansky/Counter — Issue #2: render("text/json")
Author: urbansky
Created: 2011-11-02 11:09:21+00:00
State: open
Labels: bug

render("text/json") { } uses the new JSONBuilder. But the new JSON-Builder must be enabled in the config.groovy of the application. So AJAX fails with a exception in most apps.

Use renderAsJSON instead.