Sha256: eb4a6a49882f505ae3fc0f88359f50806ebc57fd53b930f3b3da277462232c58
Contents?: true
Size: 485 Bytes
Versions: 56
Compression:
Stored size: 485 Bytes
Contents
# frozen_string_literal: true module Decidim # A custom mailer for Decidim so we can notify users to verify # his own newsletter notifications settings. GDPR releated class NewslettersOptInMailer < ApplicationMailer def notify(user, token) @user = user @organization = user.organization @token = token mail(to: user.email, subject: I18n.t("decidim.newsletters_opt_in_mailer.notify.subject", organization_name: @organization.name)) end end end
Version data entries
56 entries across 56 versions & 1 rubygems