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



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

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

#editObject



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

def edit; end