app/mailers/heya/campaign_mailer.rb in heya-0.4.0 vs app/mailers/heya/campaign_mailer.rb in heya-0.5.0

- old
+ new

@@ -16,9 +16,10 @@ I18n.t("#{campaign_name}.#{step_name}.subject", **attributes_for(user)) } subject = subject.call(user) if subject.respond_to?(:call) instance_variable_set(:"@#{user.model_name.element}", user) + instance_variable_set(:@campaign_name, campaign_name) mail( from: from, reply_to: reply_to, to: user.email,