Skip to content

Instantly share code, notes, and snippets.

@mrkaspa
Last active August 29, 2015 14:19
Show Gist options
  • Save mrkaspa/e72ecb6faf91e6a09918 to your computer and use it in GitHub Desktop.
Save mrkaspa/e72ecb6faf91e6a09918 to your computer and use it in GitHub Desktop.
@user = self
template = Tilt::ERBTemplate.new("#{Padrino.root}/api/views/mailers/welcome.erb").render(@user)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment