Skip to content

Commit

Permalink
Update wings.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
ShanaLMoore committed Jan 29, 2024
1 parent 90427a5 commit a9d427b
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions config/initializers/wings.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a9d427b

Please sign in to comment.