diff --git a/app/models/concerns/venue_link_file.rb b/app/models/concerns/venue_link_file.rb index 40c36ea..4a6fd0c 100644 --- a/app/models/concerns/venue_link_file.rb +++ b/app/models/concerns/venue_link_file.rb @@ -50,7 +50,7 @@ module VenueLinkFile template:"email/reminder_email.html.erb", mail_sentdate: send_time, mail_subject: title, - template_data:{'title'=>title,'send_time'=>send_time,'locale'=>I18n.locale}) + template_data:{'title'=>title,'send_time'=>self.send(v.name),'locale'=>I18n.locale}) self.venue_management_emails << VenueManagementEmail.new(email_id: new_email.id) end end