Fixed small typos.
This commit is contained in:
parent
ccb81e6bfd
commit
4f531f2ad2
1 changed files with 4 additions and 4 deletions
|
@ -171,11 +171,11 @@ class Observer::Ticket::Notification < ActiveRecord::Observer
|
||||||
|
|
||||||
# send background job
|
# send background job
|
||||||
params = {
|
params = {
|
||||||
:ticket_id => ticket.id,
|
:ticket_id => ticket.id,
|
||||||
:article => article.id,
|
:article_id => article.id,
|
||||||
:data => data,
|
:data => data,
|
||||||
}
|
}
|
||||||
Delayed::Job.enqueue( Observer::Ticket::Article::Notification::BackgroundJob.new( params ) )
|
Delayed::Job.enqueue( Observer::Ticket::Notification::BackgroundJob.new( params ) )
|
||||||
end
|
end
|
||||||
|
|
||||||
def after_create(record)
|
def after_create(record)
|
||||||
|
|
Loading…
Reference in a new issue