Sha256: 06a9ffe7c2a500a4b1f0fef1eb917aa9e5291f842df40b0a76a54ffabd70f45a

Contents?: true

Size: 665 Bytes

Versions: 7

Compression:

Stored size: 665 Bytes

Contents

class CurationConcerns::PermissionsController < ApplicationController
  include CurationConcerns::CurationConcernController
  with_themed_layout '1_column'
  self.curation_concern_type = ActiveFedora::Base

  def confirm
  end

  def copy
    VisibilityCopyJob.perform_later(curation_concern.id)
    flash_message = 'Updating file permissions. This may take a few minutes. You may want to refresh your browser or return to this record later to see the updated file permissions.'
    redirect_to [main_app, curation_concern], notice: flash_message
  end

  def curation_concern
    @curation_concern ||= curation_concern_type.find(params[:id], cast: true)
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
curation_concerns-0.10.0 app/controllers/curation_concerns/permissions_controller.rb
curation_concerns-0.9.0 app/controllers/curation_concerns/permissions_controller.rb
curation_concerns-0.8.0 app/controllers/curation_concerns/permissions_controller.rb
curation_concerns-0.7.0 app/controllers/curation_concerns/permissions_controller.rb
curation_concerns-0.6.0 app/controllers/curation_concerns/permissions_controller.rb
curation_concerns-0.5.0 app/controllers/curation_concerns/permissions_controller.rb
curation_concerns-0.4.0 app/controllers/curation_concerns/permissions_controller.rb