Move plugins to separate directory.
This commit is contained in:
parent
6e990fed4c
commit
6aa8ee7968
59 changed files with 4 additions and 4 deletions
8
plugins/messages/app/workers/message_notifier.rb
Normal file
8
plugins/messages/app/workers/message_notifier.rb
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
class MessageNotifier < UserNotifier
|
||||
@queue = :foodsoft_notifier
|
||||
|
||||
def self.message_deliver(args)
|
||||
message_id = args.first
|
||||
Message.find(message_id).deliver
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue