Sha256: 5a2deaddda7b8291ee62d02f2bd17b481e7d39ceebf6e0d7d611df002a8a7a49

Contents?: true

Size: 497 Bytes

Versions: 45

Compression:

Stored size: 497 Bytes

Contents

module CurationConcerns
  module ManagesEmbargoes
    extend ActiveSupport::Concern

    included do
      include CurationConcerns::ThemedLayoutController
      with_themed_layout '1_column'

      attr_accessor :curation_concern
      helper_method :curation_concern
      load_and_authorize_resource class: ActiveFedora::Base, instance_name: :curation_concern
    end

    def deny_access(exception)
      redirect_to root_path, alert: exception.message
    end

    def edit
    end
  end
end

Version data entries

45 entries across 45 versions & 1 rubygems

Version Path
curation_concerns-1.3.1 app/controllers/concerns/curation_concerns/manages_embargoes.rb
curation_concerns-1.3.0 app/controllers/concerns/curation_concerns/manages_embargoes.rb
curation_concerns-1.2.0 app/controllers/concerns/curation_concerns/manages_embargoes.rb
curation_concerns-1.1.2 app/controllers/concerns/curation_concerns/manages_embargoes.rb
curation_concerns-1.1.1 app/controllers/concerns/curation_concerns/manages_embargoes.rb
curation_concerns-1.1.0 app/controllers/concerns/curation_concerns/manages_embargoes.rb
curation_concerns-1.0.0 app/controllers/concerns/curation_concerns/manages_embargoes.rb
curation_concerns-1.0.0.beta10 app/controllers/concerns/curation_concerns/manages_embargoes.rb
curation_concerns-1.0.0.beta9 app/controllers/concerns/curation_concerns/manages_embargoes.rb
curation_concerns-1.0.0.beta8 app/controllers/concerns/curation_concerns/manages_embargoes.rb
curation_concerns-1.0.0.beta7 app/controllers/concerns/curation_concerns/manages_embargoes.rb
curation_concerns-1.0.0.beta6 app/controllers/concerns/curation_concerns/manages_embargoes.rb
curation_concerns-1.0.0.beta5 app/controllers/concerns/curation_concerns/manages_embargoes.rb
curation_concerns-1.0.0.beta4 app/controllers/concerns/curation_concerns/manages_embargoes.rb
curation_concerns-1.0.0.beta3 app/controllers/concerns/curation_concerns/manages_embargoes.rb
curation_concerns-1.0.0.beta2 app/controllers/concerns/curation_concerns/manages_embargoes.rb
curation_concerns-1.0.0.beta1 app/controllers/concerns/curation_concerns/manages_embargoes.rb
curation_concerns-0.14.0 app/controllers/concerns/curation_concerns/manages_embargoes.rb
curation_concerns-0.14.0.pre4 app/controllers/concerns/curation_concerns/manages_embargoes.rb
curation_concerns-0.14.0.pre3 app/controllers/concerns/curation_concerns/manages_embargoes.rb