locally when Resque tried to constantize Jobs::Mail Object.const_get("Jobs") returned our Jobs module but when it tried to const_get("Mail") it returned the Mail gem.
added copyright
15 lines
No EOL
439 B
Ruby
15 lines
No EOL
439 B
Ruby
# Copyright (c) 2010-2011, Diaspora Inc. This file is
|
|
# licensed under the Affero General Public License version 3 or later. See
|
|
# the COPYRIGHT file.
|
|
|
|
module NotificationMailers
|
|
class Reshared < NotificationMailers::Base
|
|
attr_accessor :reshare
|
|
|
|
def set_headers(reshare_id)
|
|
@reshare = Reshare.find(reshare_id)
|
|
|
|
@headers[:subject] = I18n.t('notifier.reshared.reshared', :name => @sender.name)
|
|
end
|
|
end
|
|
end |