remove thread mention mail, use reply mail instead

This commit is contained in:
jomo
2015-02-08 01:47:20 +01:00
parent 8af9d9922b
commit 61f51666fb
6 changed files with 10 additions and 73 deletions

View File

@@ -28,12 +28,6 @@ class RedstonerMailer < ActionMailer::Base
mail(to: @user.email, subject: "#{reply.author.name} replied to '#{reply.thread.title}' on Redstoner")
end
def new_thread_reply_mention_mail(user, reply)
@user = user
@reply = reply
mail(to: @user.email, subject: "#{reply.author.name} mentioned you in '#{reply.thread.title}' on Redstoner")
end
def new_post_mention_mail(user, post)
@user = user
@post = post