fixes to password reset

This commit is contained in:
Kyle Drake 2013-07-12 06:12:48 +02:00
parent 82195a9cb8
commit 6245319bc1
2 changed files with 4 additions and 2 deletions

View file

@ -1,8 +1,10 @@
class EmailWorker
include Sidekiq::Worker
sidekiq_options queue: :emails, retry: 10, backtrace: true
def perform(args={})
Mail.deliver do
from args[:from]
to args[:to]
subject args[:subject]
body args[:body]