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
-
#deny_access(exception) ⇒ Object
This is an override of CurationConcerns::ApplicationController.
- #edit ⇒ Object
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. end |
#edit ⇒ Object
19 20 |
# File 'app/controllers/concerns/curation_concerns/manages_embargoes.rb', line 19 def edit end |