Skip to content

Commit

Permalink
🧹 update: pdf_viewer? should be show_pdf_viewer
Browse files Browse the repository at this point in the history
  • Loading branch information
Shana Moore committed Dec 7, 2023
1 parent eb15fd7 commit 628792a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/views/themes/cultural_show/hyrax/base/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<div class="col-sm-12 centered-media">
<%= render 'representative_media', presenter: @presenter, viewer: true %>
</div>
<% elsif @presenter.pdf_viewer? %>
<% elsif @presenter.show_pdf_viewer? %>
<div class="col-sm-12">
<%= render 'pdf_js', file_set_presenter: pdf_file_set_presenter(@presenter) %>
</div>
Expand Down
2 changes: 1 addition & 1 deletion app/views/themes/scholarly_show/hyrax/base/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
<% render 'work_description', presenter: @presenter %>
</div>
</div>
<% elsif @presenter.pdf_viewer? %>
<% elsif @presenter.show_pdf_viewer? %>
<div class="col-sm-12">
<%= render 'pdf_js', file_set_presenter: pdf_file_set_presenter(@presenter) %>
</div>
Expand Down

0 comments on commit 628792a

Please sign in to comment.