Skip to content

Instantly share code, notes, and snippets.

View lucastex's full-sized avatar

Lucas Frare Teixeira lucastex

View GitHub Profile
@lucastex
lucastex / grails_twitter.groovy
Created March 3, 2009 02:47
Using Grails Twitter plugin to update your status
def twitterService
(...)
def updateTwitterStatus = {
twitterService.setStatus "My new status..." //probably would be something like params.newStatus
redirect action: index //or your usual action
}