diff --git a/config/initializers/wings.rb b/config/initializers/wings.rb index 93673855c..247d5ec93 100644 --- a/config/initializers/wings.rb +++ b/config/initializers/wings.rb @@ -46,17 +46,10 @@ Hyrax::CustomQueries::FindModelsByAccess, Hyrax::CustomQueries::FindCountBy, Hyrax::CustomQueries::FindByDateRange, - Hyrax::CustomQueries::FindByBulkraxIdentifier ].each do |handler| Hyrax.query_service.services[0].custom_queries.register_query_handler(handler) end - [ - Wings::CustomQueries::FindByBulkraxIdentifier - ].each do |handler| - Hyrax.query_service.services[1].custom_queries.register_query_handler(handler) - end - Wings::ModelRegistry.register(GenericWorkResource, GenericWork) Wings::ModelRegistry.register(ImageResource, Image) end