Replaced protoype with jquery. Some fixes in mailer class.
This commit is contained in:
parent
bdb177dfa6
commit
2a72263bd3
28 changed files with 21207 additions and 10398 deletions
|
|
@ -65,7 +65,7 @@ class Message < ActiveRecord::Base
|
|||
for recipient in message.recipients
|
||||
if recipient.settings['messages.sendAsEmail'] == "1" && !recipient.email.blank?
|
||||
begin
|
||||
Mailer.message(message, recipient).deliver
|
||||
Mailer.foodsoft_message(message, recipient).deliver
|
||||
rescue
|
||||
logger.warn "Deliver failed for #{recipient.nick}: #{recipient.email}"
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue