Sha256: ef770fdbdeccb4fe8abb4093f254157816fc470ddffed1ddc389a454c3da3972
Contents?: true
Size: 313 Bytes
Versions: 3
Compression:
Stored size: 313 Bytes
Contents
module E9Crm 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
e9_crm-0.1.12 | lib/e9_crm/email.rb |
e9_crm-0.1.11 | lib/e9_crm/email.rb |
e9_crm-0.1.10 | lib/e9_crm/email.rb |