Skip to content

Commit

Permalink
remove deprecated call to method
Browse files Browse the repository at this point in the history
  • Loading branch information
tamsin johnson authored and dunn committed Sep 16, 2021
1 parent 06a15c4 commit 5e3ea97
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions app/controllers/hyrax/my_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,7 @@ def self.configure_facets

def index
@user = current_user
Deprecation.silence(Hyrax::MyController) do
(@response, @document_list) = query_solr
end
(@response, @document_list) = search_service.search_results
prepare_instance_variables_for_batch_control_display

respond_to do |format|
Expand Down

0 comments on commit 5e3ea97

Please sign in to comment.