diaspora/app/mailers/notification_mailers/reshared.rb
2011-10-09 23:34:03 -05:00

11 lines
No EOL
279 B
Ruby

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