Sha256: 0660327ab15ca6514be9a0fccfe172009381655864b8afd7e480840b2961f952
Contents?: true
Size: 422 Bytes
Versions: 13
Compression:
Stored size: 422 Bytes
Contents
# frozen_string_literal: true module ThinkFeelDoEngine # Mailer for SiteMessage delivery. class SiteMessageMailer < ActionMailer::Base def general(message) markdown = Redcarpet::Markdown.new( Redcarpet::Render::HTML, space_after_headers: true ) @body = markdown.render(message.body) mail to: message.participant.email, subject: message.subject end end end
Version data entries
13 entries across 13 versions & 1 rubygems