Sha256: 2a9a636e909d62f4c0c3ec7aefa3c6dd524957df27d7e14cc2c0d5e4c356629f
Contents?: true
Size: 461 Bytes
Versions: 3
Compression:
Stored size: 461 Bytes
Contents
module Workarea module Storefront class ShareMailer < ApplicationMailer def share(id) @share = ShareViewModel.wrap(Email::Share.find(id)) @content = Content::Email.find_content('share') mail( to: @share.to, from: Workarea.config.email_from, reply_to: @share.from, subject: t('workarea.storefront.email.share.subject', from: @share.friendly_from) ) end end end end
Version data entries
3 entries across 3 versions & 1 rubygems