metamaps--metamaps/app/views/mailboxer/notification_mailer/new_notification_email.html.erb

5 lines
189 B
Text
Raw Normal View History

<!DOCTYPE html>
<% mail = ApplicationMailer.mail_for_notification(@notification) %>
<% @notification.update(body: mail.html_part&.body&.decoded) %>
<%= raw mail.html_part&.body&.decoded %>