app/views/fields/belongs_to/_index.html.erb in administrate-0.16.0 vs app/views/fields/belongs_to/_index.html.erb in administrate-0.17.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.associated_class) %> + <% if valid_action?(:show, field.associated_class) && show_action?(:show, field.associated_class) %> <%= link_to( field.display_associated_resource, [namespace, field.data], ) %> <% else %>