5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-16 08:31:41 +00:00
panel/app/mailers/invitadx_mailer.rb
2019-03-26 12:32:20 -03:00

9 lines
311 B
Ruby

# frozen_string_literal: true
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')
end
end