app/cyclid/plugins/action/email.rb in cyclid-0.2.5 vs app/cyclid/plugins/action/email.rb in cyclid-0.3.0
- old
+ new
@@ -49,12 +49,12 @@
Cyclid.logger.debug "sending via. #{email_config[:server]}:#{email_config[:port]} " \
"as #{email_config[:from]}"
# Add the job context
- to = @to % @ctx
- subject = @subject % @ctx
- message = @message % @ctx
+ to = @to ** @ctx
+ subject = @subject ** @ctx
+ message = @message ** @ctx
# Create a binding for the text & HTML ERB templates
info = { color: @color, title: subject }
bind = binding