Sha256: d842762f008cc483541d218b9e0a799f8ff06082f191bb9eddee841f35710784
Contents?: true
Size: 543 Bytes
Versions: 6
Compression:
Stored size: 543 Bytes
Contents
# frozen_string_literal: true module Decidim # A custom mailer for Decidim so we can notify users to verify # their own newsletter notifications settings. GDPR related class NewslettersOptInMailer < ApplicationMailer def notify(user, token) with_user(user) do @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(@organization))) end end end end
Version data entries
6 entries across 6 versions & 1 rubygems