app/views/hyrax/base/_show_actions.html.erb in hyrax-2.9.4 vs app/views/hyrax/base/_show_actions.html.erb in hyrax-2.9.5
- old
+ new
@@ -13,10 +13,10 @@
<button type="button" class="btn btn-default dropdown-toggle" type="button" id="dropdown-menu" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
Attach Child <span class="caret"></span></button>
<ul class="dropdown-menu">
<% presenter.valid_child_concerns.each do |concern| %>
<li>
- <%= link_to "Attach #{concern.human_readable_type}", polymorphic_path([main_app, :new, :hyrax, :parent, concern.model_name.singular], parent_id: presenter.id) %>
+ <%= link_to "Attach #{concern.human_readable_type}", polymorphic_path([main_app, :new, :hyrax, :parent, concern.model_name.singular.to_sym], parent_id: presenter.id) %>
</li>
<% end %>
</ul>
</div>
<% end %>