From c6b54a2b0df958213e3ee78087e0a4f5f11e8ddd Mon Sep 17 00:00:00 2001 From: tamsin johnson Date: Tue, 28 Jun 2022 12:35:16 -0700 Subject: [PATCH] remove deprecated method from CollectionsControllerBehavior --- .../concerns/hyrax/collections_controller_behavior.rb | 7 ------- 1 file changed, 7 deletions(-) diff --git a/app/controllers/concerns/hyrax/collections_controller_behavior.rb b/app/controllers/concerns/hyrax/collections_controller_behavior.rb index 2153fcbfd4..99a04a20db 100644 --- a/app/controllers/concerns/hyrax/collections_controller_behavior.rb +++ b/app/controllers/concerns/hyrax/collections_controller_behavior.rb @@ -66,13 +66,6 @@ def search_service Hyrax::SearchService.new(config: blacklight_config, user_params: params.except(:q, :page), scope: self, search_builder_class: single_item_search_builder_class) end - # Instantiates the search builder that builds a query for a single item - # this is useful in the show view. - def single_item_search_builder - search_service.search_builder - end - deprecation_deprecate :single_item_search_builder - def collection_params form_class.model_attributes(params[:collection]) end