Это возврат необходим? Скажем, это в середине действия.
render(contentType:'text/json', text: ['success': true] as JSON) return