Conflicts: app/controllers/aspects_controller.rb app/controllers/contacts_controller.rb app/controllers/people_controller.rb app/controllers/photos_controller.rb app/controllers/tags_controller.rb app/helpers/notifications_helper.rb app/models/notifications/new_request.rb app/models/user_preference.rb public/javascripts/view.js spec/controllers/aspects_controller_spec.rb spec/controllers/contacts_controller_spec.rb spec/controllers/home_controller_spec.rb spec/controllers/post_visibilities_controller_spec.rb spec/controllers/requests_controller_spec.rb spec/mailers/notifier_spec.rb spec/models/user_spec.rb
20 lines
405 B
Ruby
20 lines
405 B
Ruby
class Notifications::StartedSharing < Notification
|
|
def mail_job
|
|
Job::MailStartedSharing
|
|
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
|