Fixed typo.

This commit is contained in:
Rolf Schmidt 2015-10-08 11:10:18 +02:00
parent da983a6e43
commit 30e30108e2
2 changed files with 2 additions and 2 deletions

View file

@ -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) record.preferences[:signature_detection] = SignatureDetection.find_signature_line(user.preferences[:signature_detection], record.body)
# add queue job to update current signature of user id # 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
end end

View file

@ -1,4 +1,4 @@
class Observer::Ticket::Article::EmailSignatureDetection::BackgroundJob class Observer::Ticket::Article::SignatureDetection::BackgroundJob
def initialize(id) def initialize(id)
@user_id = id @user_id = id
end end