Use the rails 4.2 active job

This commit is contained in:
2015-03-11 08:15:16 +01:00
parent cb3d1d5f02
commit 61d1a5998d
6 changed files with 14 additions and 5 deletions
+1 -1
View File
@@ -185,7 +185,7 @@ class Supplier
end
def send_creation_notifications
SupplierMailer.creation(self).deliver_now
SupplierMailer.creation(self).deliver_later
end
private