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_app_mailer.rb

18 lines
348 B
Ruby

# frozen_string_literal: true
class MembershipAppMailer < ApplicationMailer
before_action :set_membership_app
def tracking
mail(
to: @membership_app.email,
subject: translate('membership_app_mailer.tracking.subject'),
)
end
private
def set_membership_app
@membership_app = params[:membership_app]
end
end