app/views/fields/belongs_to/_index.html.erb in administrate-0.1.0 vs app/views/fields/belongs_to/_index.html.erb in administrate-0.1.1
- old
+ new
@@ -14,7 +14,10 @@
[1]: http://www.rubydoc.info/gems/administrate/Administrate/Field/BelongsTo
%>
<% if field.data %>
- <%= link_to field.data, [Administrate::NAMESPACE, field.data] %>
+ <%= link_to(
+ field.display_associated_resource,
+ [Administrate::NAMESPACE, field.data],
+ ) %>
<% end %>