Update volunteer mailer subject
This commit is contained in:
parent
c04be87f53
commit
72b7787003
|
@ -2,8 +2,10 @@ class VolunteerMailer < ActionMailer::Base
|
||||||
def team_notification(new_volunteer)
|
def team_notification(new_volunteer)
|
||||||
@volunteer = new_volunteer
|
@volunteer = new_volunteer
|
||||||
|
|
||||||
mail(to: @volunteer.conference.email,
|
mail(
|
||||||
subject: "Нов доброволец – #{@volunteer.name} <#{@volunteer.email}> за екип(и) #{@volunteer.volunteer_teams.map(&:name).join(", ")}")
|
to: @volunteer.conference.email,
|
||||||
|
subject: "Нов доброволец за #{@volunteer.conference.title}"
|
||||||
|
)
|
||||||
end
|
end
|
||||||
|
|
||||||
def volunteer_notification(new_volunteer)
|
def volunteer_notification(new_volunteer)
|
||||||
|
|
Loading…
Reference in New Issue