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
|
|
@ -4,6 +4,6 @@ class MailblusterCreateLeadJob < ApplicationJob
|
|||
queue_as :default
|
||||
|
||||
def perform(user)
|
||||
ApplicationController.helpers.create_lead(user)
|
||||
MailblusterManager.create_lead(user)
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue