Public Lab

Create a comment_moderation mailer - Email to moderators approval 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 approved.
  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_approval and also use same name for file.

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

Task tags

  • code
  • design
  • spam-project

Students who completed this task

valentina tironi

Task type

  • code Code
  • web Design
  • done_all Quality Assurance
close

2018