app/helpers/blacklight/maps_helper_override.rb
def document_path
      token = '__id__'
      original_path = spotlight.exhibit_solr_document_path(exhibit_id: current_exhibit, id: token)
      original_path.sub(token, "{#{blacklight_config.document_model.unique_key}}")
    end
##
# Build a parameterized path for the solr documents
# and avoid Rails URL escaping by using a temporary token, and then substituting the actual value.
Build a parameterized path for the solr documents
and avoid Rails URL escaping by using a temporary token, and then substituting the actual value.
Build a parameterized path for the solr documents and avoid Rails URL escaping by using a temporary token and then substituting the actual value .
def document_path
      token = '__id__'
      original_path = spotlight.exhibit_solr_document_path(exhibit_id: current_exhibit, id: token)
      original_path.sub(token, "{#{blacklight_config.document_model.unique_key}}")
    end
def document_path token = '__id__' original_path = spotlight . exhibit_solr_document_path ( exhibit_id : current_exhibit , id : token ) original_path . sub ( token , "{#{blacklight_config.document_model.unique_key}}" ) end
Build a parameterized path for the solr documents
and avoid Rails URL escaping by using a temporary token, and then substituting the actual value.
Build a parameterized path for the solr documents and avoid Rails URL escaping by using a temporary token and then substituting the actual value .