merge email and mail queues in resque
This commit is contained in:
parent
b94e6ae4a0
commit
497dcccb8f
1 changed files with 1 additions and 1 deletions
|
|
@ -1,6 +1,6 @@
|
|||
module Jobs
|
||||
class InviteUser
|
||||
@queue = :email
|
||||
@queue = :mail
|
||||
def self.perform(sender_id, email, aspect_id, invite_message)
|
||||
user = User.find(sender_id)
|
||||
user.invite_user(email, aspect_id, invite_message)
|
||||
|
|
|
|||
Loading…
Reference in a new issue