1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-02-19 13:54:25 +01:00

Event reservation calendar encoding in mail

This commit is contained in:
Du Peng 2022-05-17 13:14:39 +02:00
parent eb6f04d2ad
commit 3703900ceb
2 changed files with 2 additions and 1 deletions

View File

@ -4,6 +4,7 @@
- Fix a bug: when machines module disabled, Associated machines is still shown in trainings list
- Fix a bug: script mount-proof-of-identity-files unable to modify docker-compose.yml
- Fix a bug: Event reservation calendar encoding in mail
## v5.4.0 2022 May 12

View File

@ -54,7 +54,7 @@ class NotificationsMailer < NotifyWith::NotificationsMailer
end
def notify_member_create_reservation
attachments[@attached_object.ics_filename] = @attached_object.to_ics
attachments[@attached_object.ics_filename] = @attached_object.to_ics.encode(Encoding::ISO_8859_15)
mail(to: @recipient.email,
subject: t('notifications_mailer.notify_member_create_reservation.subject'),
template_name: 'notify_member_create_reservation')