Use the rails 4.2 active job
This commit is contained in:
@@ -185,7 +185,7 @@ class Supplier
|
||||
end
|
||||
|
||||
def send_creation_notifications
|
||||
SupplierMailer.creation(self).deliver_now
|
||||
SupplierMailer.creation(self).deliver_later
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
Reference in New Issue
Block a user