Sha256: ea0a9f1870969a1911f40c2ef184e340c9155bd22571353b7c0d4195d52f9964
Contents?: true
Size: 449 Bytes
Versions: 48
Compression:
Stored size: 449 Bytes
Contents
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
48 entries across 48 versions & 1 rubygems