diff options
Diffstat (limited to 'app/models/question.rb')
-rw-r--r-- | app/models/question.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/question.rb b/app/models/question.rb index c377d5e..b8cfed6 100644 --- a/app/models/question.rb +++ b/app/models/question.rb @@ -186,7 +186,7 @@ class Question < ActiveRecord::Base # If question category isn't assigned don't try to access it if question_category && approved for user in question_category.users - UserMailer.send_later(:deliver_new_question, user, self) + UserMailer.delay.deliver_new_question(user, self) end end end |