Tweak volunteer mailer subject

This commit is contained in:
Petko Bordjukov 2015-10-21 23:57:21 +03:00
parent fecc4ea1ce
commit 898850ba8a
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ class VolunteerMailer < ActionMailer::Base
@volunteer = new_volunteer @volunteer = new_volunteer
mail(to: @volunteer.conference.email, mail(to: @volunteer.conference.email,
subject: "Нов доброволец #{@volunteer.name} <#{@volunteer.email}> за екипи #{@volunteer.volunteer_teams.map(&:name).join(', ')}") subject: "Нов доброволец #{@volunteer.name} <#{@volunteer.email}> за екип(и) #{@volunteer.volunteer_teams.map(&:name).join(', ')}")
end end
def volunteer_notification(new_volunteer) def volunteer_notification(new_volunteer)