Method: LeasesController#update
- Defined in:
- app/controllers/leases_controller.rb
#update ⇒ Object
17 18 19 20 21 22 23 24 25 26 |
# File 'app/controllers/leases_controller.rb', line 17 def update filter_docs_with_edit_access! batch.each do |id| ActiveFedora::Base.find(id).tap do |curation_concern| curation_concern.deactivate_lease! curation_concern.save end end redirect_to leases_path end |