Sha256: 7d27afaad0d23d0294d34bd26837168e599cbf73a243c4ad37c28b0f8da155d8
Contents?: true
Size: 552 Bytes
Versions: 25
Compression:
Stored size: 552 Bytes
Contents
# frozen_string_literal: true module Decidim # A custom mailer for Decidim so we can notify users # when their account was blocked class BlockUserMailer < ApplicationMailer def notify(user, justification) @user = user @organization = user.organization @justification = justification mail( to: user.email, subject: I18n.t( "decidim.block_user_mailer.notify.subject", organization_name: @organization.name, justification: @justification ) ) end end end
Version data entries
25 entries across 25 versions & 1 rubygems