Sha256: 22858260464d5581bf45b33b018e0b2b7230767a43a87c1be43755202dd158db

Contents?: true

Size: 305 Bytes

Versions: 3

Compression:

Stored size: 305 Bytes

Contents

module Hydra::Controller::SearchBuilder
  extend ActiveSupport::Concern

  # Override blacklight to produce a search_builder that has the current ability in context
  def search_builder processor_chain = search_params_logic
    super.tap { |builder| builder.current_ability = current_ability }
  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
hydra-core-9.5.0 app/controllers/concerns/hydra/controller/search_builder.rb
hydra-core-9.4.1 app/controllers/concerns/hydra/controller/search_builder.rb
hydra-core-9.4.0 app/controllers/concerns/hydra/controller/search_builder.rb