app/mailers/moderator_mailer.rb
def subscription_verification(subscription)
    @subscription = subscription

    subject =
      I18n.t('mailers.moderator_mailer.subscription_verification.subject')

    mail(to: subscription.email, subject: subject)
  end
# send an email to request verification
send an email to request verification
send an email to request verification
def subscription_verification(subscription)
    @subscription = subscription
    subject =
      I18n.t('mailers.moderator_mailer.subscription_verification.subject')
    mail(to: subscription.email, subject: subject)
  end
def subscription_verification ( subscription ) @subscription = subscription subject = I18n . t ( 'mailers.moderator_mailer.subscription_verification.subject' ) mail ( to : subscription . email , subject : subject ) end
send an email to request verification
send an email to request verification
subscription