Module: CurationConcerns::ManagesEmbargoes

Extended by:
ActiveSupport::Concern
Included in:
EmbargoesControllerBehavior, LeasesControllerBehavior
Defined in:
app/controllers/concerns/curation_concerns/manages_embargoes.rb

Instance Method Summary collapse

Instance Method Details

#deny_access(exception) ⇒ Object

This is an override of CurationConcerns::ApplicationController



15
16
17
# File 'app/controllers/concerns/curation_concerns/manages_embargoes.rb', line 15

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

#editObject



19
20
# File 'app/controllers/concerns/curation_concerns/manages_embargoes.rb', line 19

def edit
end