Sha256: f4102566e46e351abdf6568e5d151fd019bf1686dd1ed4d88c2423bb786e0606
Contents?: true
Size: 436 Bytes
Versions: 24
Compression:
Stored size: 436 Bytes
Contents
module E9Crm # # Extends E9Base's Email to attempt to embed the Contact # for the recipient in the liquid template arguments. # module Email extend ActiveSupport::Concern included do def locals_with_contact default_locals.merge({ :contact => recipient.try(:contact) }) end alias :default_locals :this_locals alias :this_locals :locals_with_contact end end end
Version data entries
24 entries across 24 versions & 1 rubygems