Refactoring of message system.
This commit is contained in:
parent
a0e10141dc
commit
3ea8d5a2ef
21 changed files with 94 additions and 113 deletions
|
|
@ -33,7 +33,7 @@ namespace :foodsoft do
|
|||
for user in task.users
|
||||
if user.settings['notify.upcoming_tasks'] == 1
|
||||
puts "#{user.email}.."
|
||||
Mailer.deliver_notify_upcoming_tasks(user,task)
|
||||
Mailer.deliver_upcoming_tasks(user, task)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue