Sha256: 7a7872d025c55d1f21f6e86fdb7c33e3e0beed443cc3c888c9d6ac409a4a61d0
Contents?: true
Size: 355 Bytes
Versions: 13
Compression:
Stored size: 355 Bytes
Contents
module E9Crm module Email extend ActiveSupport::Concern included do attr_accessor :contact def locals_with_contact default_locals.merge({ :contact => @contact || recipient.try(:contact) }) end alias :default_locals :this_locals alias :this_locals :locals_with_contact end end end
Version data entries
13 entries across 13 versions & 1 rubygems