aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/comment.rb')
-rw-r--r--app/models/comment.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/comment.rb b/app/models/comment.rb
index c10a8f2..cfbf1c1 100644
--- a/app/models/comment.rb
+++ b/app/models/comment.rb
@@ -47,6 +47,6 @@ class Comment < ActiveRecord::Base
protected
# Sends notification about new comment to owner of mentor
def notify_new_comment
- UserMailer.send_later(:deliver_new_comment, answer.owner, self)
+ UserMailer.delay.deliver_new_comment(answer.owner, self)
end
end