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:
- First, the mailer would send the email to moderators notifying that comment has been marked as spam.
- Create a view of email by creating a new file in admin_mailer
- 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
Students who completed this task
valentina tironi