Sha256: 17c6e1e45bd6e00cd0119f0a7a27f1514324dfca739f76969f4415c7ff8004f3
Contents?: true
Size: 566 Bytes
Versions: 21
Compression:
Stored size: 566 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 # This is an override of CurationConcerns::ApplicationController def deny_access(exception) redirect_to root_path, alert: exception.message end def edit end end end
Version data entries
21 entries across 21 versions & 1 rubygems