Sha256: 8a328369792829f2e2e9425d36d012a6d310128157134b1124486a375ce05b10

Contents?: true

Size: 474 Bytes

Versions: 16

Compression:

Stored size: 474 Bytes

Contents

# Log file restored version to activity streams
class ContentRestoredVersionEventJob < ContentEventJob
  attr_accessor :revision_id

  def perform(file_set, depositor, revision_id)
    @revision_id = revision_id
    super(file_set, depositor)
  end

  def action
    "User #{link_to_profile depositor} has restored a version '#{revision_id}' of #{link_to repo_object.title.first, Rails.application.routes.url_helpers.curation_concerns_file_set_path(repo_object)}"
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
sufia-7.4.1 app/jobs/content_restored_version_event_job.rb
sufia-7.4.0 app/jobs/content_restored_version_event_job.rb
sufia-7.3.1 app/jobs/content_restored_version_event_job.rb
sufia-7.3.0 app/jobs/content_restored_version_event_job.rb
sufia-7.3.0.rc3 app/jobs/content_restored_version_event_job.rb
sufia-7.3.0.rc2 app/jobs/content_restored_version_event_job.rb
sufia-7.3.0.rc1 app/jobs/content_restored_version_event_job.rb
sufia-7.2.0 app/jobs/content_restored_version_event_job.rb
sufia-7.1.0 app/jobs/content_restored_version_event_job.rb
sufia-7.0.0 app/jobs/content_restored_version_event_job.rb
sufia-7.0.0.rc2 app/jobs/content_restored_version_event_job.rb
sufia-7.0.0.rc1 app/jobs/content_restored_version_event_job.rb
sufia-7.0.0.beta4 app/jobs/content_restored_version_event_job.rb
sufia-7.0.0.beta3 app/jobs/content_restored_version_event_job.rb
sufia-7.0.0.beta2 app/jobs/content_restored_version_event_job.rb
sufia-7.0.0.beta1 app/jobs/content_restored_version_event_job.rb