1
0
Fork 0
This repository has been archived on 2023-03-27. You can view files and clone it, but cannot push or open issues or pull requests.
lpr-partynest/app/mailers/membership_application_mailer.rb

19 lines
404 B
Ruby
Raw Normal View History

# 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