diaspora/app/mailers/notification_mailers/started_sharing.rb
2017-09-28 03:15:30 +02:00

9 lines
289 B
Ruby

# frozen_string_literal: true
module NotificationMailers
class StartedSharing < NotificationMailers::Base
def set_headers(*_args) # rubocop:disable Naming/AccessorMethodName
@headers[:subject] = I18n.t("notifier.started_sharing.subject", name: @sender.name)
end
end
end