Skip to content

Instantly share code, notes, and snippets.

@dima767
Created September 19, 2008 19:37
Show Gist options
  • Save dima767/11639 to your computer and use it in GitHub Desktop.
Save dima767/11639 to your computer and use it in GitHub Desktop.
sendMail {
to grailsProject.creator.email
subject "A new comment for project [${grailsProject.name}] has been posted"
body "${comment.member.displayName} said:\n\n${comment.body}\n\nSee the comment in context: ${createLink(controller: 'grailsProject', action: 'viewProject', id: params.id, absolute: true)}"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment