add info mail for new blog comments

This commit is contained in:
jomo
2014-05-03 03:33:09 +02:00
parent 4130216e11
commit e0b1540593
6 changed files with 51 additions and 33 deletions
+1 -1
View File
@@ -50,7 +50,7 @@ class Threadreply < ActiveRecord::Base
mails = []
userids.each do |uid|
begin
mails << RedstonerMailer.thread_reply_mail(User.find(uid), self)
mails << RedstonerMailer.new_thread_reply_mail(User.find(uid), self)
rescue => e
Rails.logger.error "---"
Rails.logger.error "WARNING: Failed to create thread_reply mail (view) for reply#: #{@self.id}, user: #{@user.name}, #{@user.email}"