lib/courier/owner.rb in courier-0.1.5 vs lib/courier/owner.rb in courier-0.2.0

- old
+ new

@@ -25,10 +25,10 @@ module InstanceMethods def message(template_key, args={}) template = Courier.template(template_key) Courier.config.services_order.select do |service| create_courier unless courier - courier.enabled?(template, service, args) and service.message(self, template, args) + courier.on?(template, service, args) and service.message(self, template, args) end end end end