Sha256: 975207edf5a5f19061b786fcc4aa3cc4e89c34de0f85b2b10143024ebf15b909
Contents?: true
Size: 461 Bytes
Versions: 3
Compression:
Stored size: 461 Bytes
Contents
module Pbw class UserMailer < ActionMailer::Base default :from => Pbw.email_from_address def registration(user_id) @user = User.find(user_id) mail(:to => @user.email, :subject => I18n.t('pbw.users.registration.subject')) end def password_reset(user_id, password) @user = User.find(user_id) @password = password mail(:to => @user.email, :subject => I18n.t('pbw.users.password_reset.subject')) end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
pbw-0.1.1 | app/mailers/pbw/user_mailer.rb |
pbw-0.1.0 | app/mailers/pbw/user_mailer.rb |
pbw-0.0.10 | app/mailers/pbw/user_mailer.rb |