Skip to content

Commit

Permalink
少放 @topic 和 @reply 給 view ...
Browse files Browse the repository at this point in the history
  • Loading branch information
chitsaou committed Dec 1, 2011
1 parent 34e0ebe commit d122937
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions 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
Expand Down

0 comments on commit d122937

Please sign in to comment.