Sha256: 5c3c44445117f70d8aa8f28ad626424b1ee2c761496c22a684ec0ae9606795bd
Contents?: true
Size: 368 Bytes
Versions: 3
Compression:
Stored size: 368 Bytes
Contents
class UserMailer < ApplicationMailer def activation_needed_email(user) @user = user @url = activate_user_url(@user.activation_token) mail(to: user.email, subject: 'Welcome to My Awesome Site') end def activation_success_email(user) @user = user @url = login_url mail(to: user.email, subject: 'Your account is now activated') end end
Version data entries
3 entries across 3 versions & 1 rubygems