Module: Hyrax::ManagesEmbargoes

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

Instance Method Summary collapse

Instance Method Details

#deny_access(exception) ⇒ Object

This is an override of Hyrax::ApplicationController



12
13
14
# File 'app/controllers/concerns/hyrax/manages_embargoes.rb', line 12

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

#editObject



16
# File 'app/controllers/concerns/hyrax/manages_embargoes.rb', line 16

def edit; end