5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-14 23:41:43 +00:00
panel/app/mailers/invitadx_mailer.rb

10 lines
311 B
Ruby
Raw Permalink Normal View History

2019-03-26 15:32:20 +00:00
# frozen_string_literal: true
2018-09-28 14:34:37 +00:00
class InvitadxMailer < ApplicationMailer
def confirmation_required
@invitadx = params[:invitadx]
@site = params[:site]
mail from: "#{@site.config.dig('title')} <#{ENV.fetch('DEFAULT_FROM', 'sutty@kefir.red')}>", to: @invitadx.email, subject: t('.subject')
2018-09-28 14:34:37 +00:00
end
end