mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-02-21 15:54:22 +01:00
Event reservation calendar encoding in mail
This commit is contained in:
parent
eb6f04d2ad
commit
3703900ceb
@ -4,6 +4,7 @@
|
|||||||
|
|
||||||
- Fix a bug: when machines module disabled, Associated machines is still shown in trainings list
|
- 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: 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
|
## v5.4.0 2022 May 12
|
||||||
|
|
||||||
|
@ -54,7 +54,7 @@ class NotificationsMailer < NotifyWith::NotificationsMailer
|
|||||||
end
|
end
|
||||||
|
|
||||||
def notify_member_create_reservation
|
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,
|
mail(to: @recipient.email,
|
||||||
subject: t('notifications_mailer.notify_member_create_reservation.subject'),
|
subject: t('notifications_mailer.notify_member_create_reservation.subject'),
|
||||||
template_name: 'notify_member_create_reservation')
|
template_name: 'notify_member_create_reservation')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user