20 lines
408 B
Ruby
20 lines
408 B
Ruby
class Notifications::StartedSharing < Notification
|
|
def mail_job
|
|
Jobs::Mail::StartedSharing
|
|
end
|
|
|
|
def popup_translation_key
|
|
'notifications.started_sharing'
|
|
end
|
|
|
|
def email_the_user(target, actor)
|
|
super(target.sender, actor)
|
|
end
|
|
|
|
private
|
|
|
|
def self.make_notification(recipient, target, actor, notification_type)
|
|
super(recipient, target.sender, actor, notification_type)
|
|
end
|
|
|
|
end
|