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

7 lines
217 B
Text
Raw Normal View History

<!DOCTYPE html>
2016-12-08 19:39:41 +00:00
<% mail = ApplicationMailer.mail_for_notification(@notification) %>
2016-12-09 16:55:53 +00:00
<% if mail %>
<% @notification.update(body: mail.html_part&.body&.decoded) %>
<%= raw mail.html_part&.body&.decoded %>
<% end %>