diff --git a/app/mailers/topic_mailer.rb b/app/mailers/topic_mailer.rb index 1e09bad5a..e4b75fbca 100644 --- a/app/mailers/topic_mailer.rb +++ b/app/mailers/topic_mailer.rb @@ -1,6 +1,8 @@ # encoding: utf-8 class TopicMailer < BaseMailer def notify_reply(recipient, topic, reply) + @topic = topic + @reply = reply @reply_author = reply.user mail(:to => recipient.email, :subject => "[#{Setting.app_name}] 主題回覆通知: #{topic.title}") end