5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-15 02:21:42 +00:00
panel/app/mailers/invitadx_mailer.rb

8 lines
280 B
Ruby
Raw Normal View History

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