diff --git a/app/mailers/volunteer_mailer.rb b/app/mailers/volunteer_mailer.rb index e526ff0..13bc132 100644 --- a/app/mailers/volunteer_mailer.rb +++ b/app/mailers/volunteer_mailer.rb @@ -2,8 +2,10 @@ class VolunteerMailer < ActionMailer::Base def team_notification(new_volunteer) @volunteer = new_volunteer - mail(to: @volunteer.conference.email, - subject: "Нов доброволец – #{@volunteer.name} <#{@volunteer.email}> за екип(и) #{@volunteer.volunteer_teams.map(&:name).join(", ")}") + mail( + to: @volunteer.conference.email, + subject: "Нов доброволец за #{@volunteer.conference.title}" + ) end def volunteer_notification(new_volunteer)