Sha256: 26ebbfda85371f63b9b4f7001f91c8fcdbce60697b298ee4ee8909838b91e798
Contents?: true
Size: 523 Bytes
Versions: 43
Compression:
Stored size: 523 Bytes
Contents
# frozen_string_literal: true module Blacklight module Suggest extend ActiveSupport::Concern included do include Blacklight::Configurable include Blacklight::SearchHelper copy_blacklight_config_from(CatalogController) end def index respond_to do |format| format.json do render json: suggestions_service.suggestions end end end def suggestions_service Blacklight::SuggestSearch.new(params, repository).suggestions end end end
Version data entries
43 entries across 43 versions & 1 rubygems