|
|
|
@ -59,7 +59,6 @@ class Mailer < ActionMailer::Base
|
|
|
|
|
@anonymous_comment_close_name = homework_common.name
|
|
|
|
|
@author = homework_common.user
|
|
|
|
|
#收件人邮箱
|
|
|
|
|
|
|
|
|
|
recipients << user.mail
|
|
|
|
|
end
|
|
|
|
|
mail :to => recipients,
|
|
|
|
@ -98,10 +97,6 @@ class Mailer < ActionMailer::Base
|
|
|
|
|
@anonymous_comment_fail_name = homework_common.name
|
|
|
|
|
@author = homework_common.user
|
|
|
|
|
#收件人邮箱
|
|
|
|
|
puts "######################"
|
|
|
|
|
puts homework_common.id
|
|
|
|
|
puts recipients
|
|
|
|
|
puts "######################"
|
|
|
|
|
recipients << user.mail
|
|
|
|
|
end
|
|
|
|
|
end
|
|
|
|
|