Sha256: 4f5178b5e4ddc402b80347966f6ddf21aeae64de46736dfcd59e2f10c9600745
Contents?: true
Size: 806 Bytes
Versions: 13
Compression:
Stored size: 806 Bytes
Contents
# frozen_string_literal: true module Decidim module Accountability # This mailer sends a notification email containing the result of importing # Cprojects to the results. class ImportProjectsMailer < Decidim::ApplicationMailer # Public: Sends a notification email with the result of projects import selected projects to Accountability # # user - The user to be notified. # # Returns nothing. def import(user, component, projects) @user = user @organization = user.organization @component = component @projects = projects with_user(user) do mail(to: "#{user.name} <#{user.email}>", subject: I18n.t("decidim.accountability.import_projects_mailer.import.subject")) end end end end end
Version data entries
13 entries across 13 versions & 1 rubygems