Sha256: 9475e6e56709de582b26468a2b71c141942df19659843818d5a954de000c8023
Contents?: true
Size: 479 Bytes
Versions: 13
Compression:
Stored size: 479 Bytes
Contents
# frozen_string_literal: true module Hyrax module ManagesEmbargoes extend ActiveSupport::Concern included do attr_accessor :curation_concern helper_method :curation_concern load_and_authorize_resource class: ActiveFedora::Base, instance_name: :curation_concern end # This is an override of Hyrax::ApplicationController def deny_access(exception) redirect_to root_path, alert: exception.message end def edit; end end end
Version data entries
13 entries across 13 versions & 1 rubygems