Last active
December 1, 2016 23:30
-
-
Save andyczerwonka/d32119e9d9bcb77d20c2e1e9c3ca25e5 to your computer and use it in GitHub Desktop.
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
private def send(invitation: Invitation, to: User, emailer: Emailer) = { | |
val url = s"${Application.configuration.baseUrl}/${invitation.id}" | |
val htmlBody = template.replace("{{url}}", url) | |
emailer.send(user.email, invitation.subject, htmlBody) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment