email notifications management

This commit is contained in:
Kyle Drake 2015-01-06 19:45:38 -08:00
parent be8ad1a888
commit 8a0e121f29
4 changed files with 69 additions and 1 deletions

View file

@ -733,7 +733,7 @@ class Site < Sequel::Model
if can_email?(args[:col])
EmailWorker.perform_async({
from: FROM_EMAIL,
to: email,
to: owner.email,
subject: args[:subject],
body: args[:body]
})