From 30e30108e231316ccc19edd3034a40c023de677e Mon Sep 17 00:00:00 2001 From: Rolf Schmidt Date: Thu, 8 Oct 2015 11:10:18 +0200 Subject: [PATCH] Fixed typo. --- app/models/observer/ticket/article/email_signature_detection.rb | 2 +- .../ticket/article/signature_detection/background_job.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/models/observer/ticket/article/email_signature_detection.rb b/app/models/observer/ticket/article/email_signature_detection.rb index d25187a3e..84d921150 100644 --- a/app/models/observer/ticket/article/email_signature_detection.rb +++ b/app/models/observer/ticket/article/email_signature_detection.rb @@ -26,6 +26,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