diff --git a/app/models/observer/ticket/article/email_signature_detection.rb b/app/models/observer/ticket/article/email_signature_detection.rb index 3f66cfe34..639bb3c35 100644 --- a/app/models/observer/ticket/article/email_signature_detection.rb +++ b/app/models/observer/ticket/article/email_signature_detection.rb @@ -28,6 +28,6 @@ class Observer::Ticket::Article::EmailSignatureDetection < ActiveRecord::Observe record.preferences[:signature_detection] = SignatureDetection.find_signature_line(user.preferences[:signature_detection], record.body) # add queue job to update current signature of user id - Delayed::Job.enqueue( Observer::Ticket::Article::EmailSignatureDetection::BackgroundJob.new( record.created_by_id ) ) + Delayed::Job.enqueue( Observer::Ticket::Article::SignatureDetection::BackgroundJob.new( record.created_by_id ) ) end end diff --git a/app/models/observer/ticket/article/signature_detection/background_job.rb b/app/models/observer/ticket/article/signature_detection/background_job.rb index 1808d0ad1..83eecbf23 100644 --- a/app/models/observer/ticket/article/signature_detection/background_job.rb +++ b/app/models/observer/ticket/article/signature_detection/background_job.rb @@ -1,4 +1,4 @@ -class Observer::Ticket::Article::EmailSignatureDetection::BackgroundJob +class Observer::Ticket::Article::SignatureDetection::BackgroundJob def initialize(id) @user_id = id end