Skip to content

Commit

Permalink
Merge pull request #1092 from projectblacklight/add_docs_to_show
Browse files Browse the repository at this point in the history
Update documentation for Catalog#show [ci skip]
  • Loading branch information
cbeer committed Feb 19, 2015
2 parents bb7d5f5 + 102e726 commit 45eb82c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/blacklight/catalog.rb
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ def index
end
end

# get single document from the solr index
# get a single document from the index
# to add responses for formats other than html or json see _Blacklight::Document::Export_
def show
@response, @document = get_solr_response_for_doc_id params[:id]

Expand Down

0 comments on commit 45eb82c

Please sign in to comment.