Move Mailbluster business logic to services/ instead of helpers/
This commit is contained in:
parent
b9ff3a2530
commit
9f19f5d913
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