journalduhacker/app/views/invitation_mailer/invitation.text.erb
joshua stein f639fd21e5 tweak invitation e-mail subject and text
"welcome to <site>" makes it sound like you already got signed up,
say "you have been invited to <site>" instead
2013-08-05 01:03:50 -05:00

8 lines
338 B
Plaintext

Hello <%= @invitation.email %>,
The user <%= @invitation.user.username %> has invited you to <%= Rails.application.name %> (<%= root_url %>)<%= @invitation.memo.present? ? raw("\n\n #{@invitation.memo}") : "" %>
To accept this invitation and create an account, visit the URL below:
<%= root_url %>invitations/<%= @invitation.code %>