From 4f531f2ad2404ffcd92dfa6953f75f41606122a5 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Tue, 26 Aug 2014 02:38:39 +0200 Subject: [PATCH] Fixed small typos. --- app/models/observer/ticket/notification.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/models/observer/ticket/notification.rb b/app/models/observer/ticket/notification.rb index 3d3f35e80..a6d5119fd 100644 --- a/app/models/observer/ticket/notification.rb +++ b/app/models/observer/ticket/notification.rb @@ -171,11 +171,11 @@ class Observer::Ticket::Notification < ActiveRecord::Observer # send background job params = { - :ticket_id => ticket.id, - :article => article.id, - :data => data, + :ticket_id => ticket.id, + :article_id => article.id, + :data => data, } - Delayed::Job.enqueue( Observer::Ticket::Article::Notification::BackgroundJob.new( params ) ) + Delayed::Job.enqueue( Observer::Ticket::Notification::BackgroundJob.new( params ) ) end def after_create(record)