fix a bug with the notifier and attachment

This commit is contained in:
maxwell 2010-12-13 14:28:21 -08:00
parent d73ce4d8cf
commit d9f25473d2

View file

@ -2,7 +2,7 @@ class Notifier < ActionMailer::Base
default :from => APP_CONFIG[:smtp_sender_address] default :from => APP_CONFIG[:smtp_sender_address]
ATTACHMENT = File.read("#{Rails.root}/public/images/diaspora_white_on_grey.png") ATTACHMENT = File.read("#{Rails.root}/public/images/white_on_grey.png")
def self.admin(string, recipients, opts = {}) def self.admin(string, recipients, opts = {})
mails = [] mails = []