app/views/fields/belongs_to/_index.html.erb in administrate-0.9.0 vs app/views/fields/belongs_to/_index.html.erb in administrate-0.10.0

- old
+ new

@@ -14,10 +14,10 @@ [1]: http://www.rubydoc.info/gems/administrate/Administrate/Field/BelongsTo %> <% if field.data %> - <% if valid_action?(:show, field.attribute) %> + <% if valid_action?(:show, field.associated_class) %> <%= link_to( field.display_associated_resource, [namespace, field.data], ) %> <% else %>