app/controllers/concerns/hydra/batch_edit_behavior.rb in hydra-batch-edit-2.0.2 vs app/controllers/concerns/hydra/batch_edit_behavior.rb in hydra-batch-edit-2.1.0

- old
+ new

@@ -3,11 +3,11 @@ extend ActiveSupport::Concern included do include CurationConcerns::Collections::AcceptsBatches - before_filter :filter_docs_with_access!, :only=>[:edit, :update, :destroy_collection] - before_filter :check_for_empty!, :only=>[:edit, :update, :destroy_collection] + before_action :filter_docs_with_access!, :only=>[:edit, :update, :destroy_collection] + before_action :check_for_empty!, :only=>[:edit, :update, :destroy_collection] end # fetch the documents that match the ids in the folder def index @response, @documents = get_solr_response_for_field_values("id", batch)