Move Mailbluster business logic to services/ instead of helpers/
This commit is contained in:
parent
1c1d09fefc
commit
f0582c25bf
5 changed files with 57 additions and 9 deletions
|
|
@ -2,6 +2,6 @@ class MailblusterDeleteLeadJob < ApplicationJob
|
|||
queue_as :default
|
||||
|
||||
def perform(user)
|
||||
ApplicationController.helpers.delete_lead(user)
|
||||
MailblusterManager.delete_lead(user)
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue