app/controllers/hyrax/my/highlights_controller.rb in hyrax-3.0.0.pre.rc2 vs app/controllers/hyrax/my/highlights_controller.rb in hyrax-3.0.0.pre.rc3
- old
+ new
@@ -1,11 +1,10 @@
# frozen_string_literal: true
module Hyrax
module My
class HighlightsController < MyController
- # Override of Blacklight::RequestBuilders
- def search_builder_class
- Hyrax::My::HighlightsSearchBuilder
+ configure_blacklight do |config|
+ config.search_builder_class = Hyrax::My::HighlightsSearchBuilder
end
def index
super
end