CivicTechAtlanta / connector

A management tool for the brigade's projects
BSD 3-Clause "New" or "Revised" License
4 stars 12 forks source link

Mailing when a comment comes in #22

Closed sb8244 closed 9 years ago

sb8244 commented 9 years ago
sb8244 commented 9 years ago
def perform(project)
  comments_to_send = some_work
  project.people.each do |person|
    if person.try!(:user).email
      CommentMailer.notification_email(project, comments_to_send, person).deliver
    end
  end
end
sb8244 commented 9 years ago

The view will need these variables set: