18 lines
404 B
Ruby
18 lines
404 B
Ruby
# frozen_string_literal: true
|
|
|
|
class MembershipApplicationMailer < ApplicationMailer
|
|
before_action :set_membership_application
|
|
|
|
def tracking
|
|
mail(
|
|
to: @membership_application.email,
|
|
subject: translate('membership_application_mailer.tracking.subject'),
|
|
)
|
|
end
|
|
|
|
private
|
|
|
|
def set_membership_application
|
|
@membership_application = params[:membership_application]
|
|
end
|
|
end
|