Skip to content

Commit

Permalink
Merge pull request #2708 from projectblacklight/unnecessary-partial
Browse files Browse the repository at this point in the history
Remove the _previous_next_doc.html.erb partial
  • Loading branch information
barmintor committed May 7, 2022
2 parents 4d061f0 + 0e2d5fb commit 3a52d69
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion app/views/catalog/_previous_next_doc.html.erb

This file was deleted.

2 changes: 1 addition & 1 deletion app/views/catalog/_show_main_content.html.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<%= render 'previous_next_doc' if @search_context && search_session['document_id'] == @document.id %>
<%= render(Blacklight::SearchContextComponent.new(search_context: @search_context, search_session: search_session)) if search_session['document_id'] == @document.id %>
<% @page_title = t('blacklight.search.show.title', document_title: document_presenter(@document).html_title, application_name: application_name).html_safe %>
<% content_for(:head) { render_link_rel_alternates } %>
Expand Down

0 comments on commit 3a52d69

Please sign in to comment.