app/models/campaign.rb in e9_crm-0.1.17 vs app/models/campaign.rb in e9_crm-0.1.18

- old
+ new

@@ -68,6 +68,14 @@ end def to_s name.tap {|n| n << " (#{code})" if code.present? } end + + def to_liquid + Drop.new(self) + end + + class Drop < ::E9::Liquid::Drops::Base + source_methods :name, :code + end end