metamaps--metamaps/app/views/mailboxer/notification_mailer/new_notification_email.html.erb
2016-12-16 16:23:32 -05:00

6 lines
217 B
Text

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