Sha256: 9e0dd7fb1284c18aeb69222a8e7b7f22f421b4ff79599674280a652e38e7ca5e
Contents?: true
Size: 398 Bytes
Versions: 18
Compression:
Stored size: 398 Bytes
Contents
class UserMailer < ApplicationMailer def we_miss_you_reminder(user, cycles) @user = user @unsubscribe_code = User.unsubscription_verifier.generate(user.id) @organization = user.last_organization I18n.with_locale(@organization.locale) do mail to: user.email, subject: t(:we_miss_you), template_name: "#{cycles.ordinalize}_reminder" end end end
Version data entries
18 entries across 18 versions & 1 rubygems