remove thread mention mail, use reply mail instead
This commit is contained in:
@@ -29,12 +29,6 @@ class AllPreview < ActionMailer::Preview
|
||||
RedstonerMailer.new_thread_reply_mail(@@user, reply)
|
||||
end
|
||||
|
||||
def new_thread_reply_mention_mail
|
||||
thread = Forumthread.new(id: 123, user_author: @@op, title: "Wow, test thread!", content: "You should not see this...")
|
||||
reply = Threadreply.new(id: 312, user_author: @@user, content: "# Markdown!\n\n@mention\n`incline code`\n\n<b>html?</b>\n\n[yt:abcd1234]\n\n[link](/forums)", forumthread: thread)
|
||||
RedstonerMailer.new_thread_reply_mention_mail(@@user, reply)
|
||||
end
|
||||
|
||||
def new_post_mention_mail
|
||||
post = Blogpost.new(id: 123, user_author: @@op, title: "Wow, test post!", content: "@mention Wow, that is **cool**!")
|
||||
RedstonerMailer.new_post_mention_mail(@@user, post)
|
||||
|
||||
Reference in New Issue
Block a user