Skip to content

Commit

Permalink
Fix ruby error for presenter missing a render method
Browse files Browse the repository at this point in the history
  • Loading branch information
aploshay committed Oct 28, 2022
1 parent 58e3199 commit c351e9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/hyrax/base/_attribute_row.html.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<%# @todo internationalisation %>
<% if presenter.send(prop_key).blank? %>
<% if presenter.try(prop_key).blank? %>
<%# no display %>
<% elsif prop_value[:admin_only] && !presenter.current_ability.current_user.admin? %>
<%# no display %>
Expand Down

0 comments on commit c351e9a

Please sign in to comment.