Public Lab

Create a comment_moderation mailer - Email to moderators regarding spam part

This issue is a part of Planning issue https://github.com/publiclab/plots2/issues/3331

Create a new mailer as following:

  1. First, the mailer would send the email to moderators notifying that comment has been marked as spam.
  2. Create a view of email by creating a new file in admin_mailer
  3. Write functional tests to check whether flow is working as planned or not. Name the method as notify_moderators_of_comment_spam and also use same name for file.

Refer the method https://github.com/publiclab/plots2/blob/master/app/mailers/admin_mailer.rb#L49-L61 .

Task tags

  • code
  • design
  • testing
  • spam-project

Students who completed this task

valentina tironi

Task type

  • code Code
  • web Design
  • done_all Quality Assurance
close

2018