app/models/notifier.rb
# TODO: Since this is a system sent message we should probably be passing the recipient language preference into the I18n strings that make up this message.
Since this is a system sent message we should probably be passing the recipient language preference into the I18n strings that make up this message.
Since this is a system sent message we should probably be passing the recipient language preference into the I18n strings that make up this message .
def activity_on_user_content(user, activity)
    recipient = set_recipient(user.email)
    unless recipient.blank?
      @user = user
      @activity = activity
      mail(
        subject: I18n.t(:subject, scope: [:notifier, :activity_on_user_content]),
        to: recipient,
        from: $SPECIES_PAGES_GROUP_EMAIL_ADDRESS )
    end
  end
def activity_on_user_content ( user , activity ) recipient = set_recipient ( user . email ) unless recipient . blank? @user = user @activity = activity mail ( subject : I18n . t ( :subject , scope : [ :notifier , :activity_on_user_content ] ) , to : recipient , from : $SPECIES_PAGES_GROUP_EMAIL_ADDRESS ) end end
TODO: Since this is a system sent message we should probably be passing the recipient language preference into the I18n strings that make up this message.
TODO : Since this is a system sent message we should probably be passing the recipient language preference into the I18n strings that make up this message .
user
<not_specific>
activity
<not_specific>