Created
March 3, 2009 02:47
-
-
Save lucastex/73146 to your computer and use it in GitHub Desktop.
Using Grails Twitter plugin to update your status
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def twitterService | |
(...) | |
def updateTwitterStatus = { | |
twitterService.setStatus "My new status..." //probably would be something like params.newStatus | |
redirect action: index //or your usual action | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment