app/views/administrate/application/_collection.html.erb in administrate-0.3.0 vs app/views/administrate/application/_collection.html.erb in administrate-0.4.0
- old
+ new
@@ -58,10 +58,14 @@
tabindex="0"
data-url="<%= polymorphic_path([namespace, resource]) -%>"
>
<% collection_presenter.attributes_for(resource).each do |attribute| %>
<td class="cell-data cell-data--<%= attribute.html_class %>">
- <%= render_field attribute %>
+ <a href="<%= polymorphic_path([namespace, resource]) -%>"
+ class="action-show table__link-plain"
+ >
+ <%= render_field attribute %>
+ </a>
</td>
<% end %>
<td><%= link_to(
t("administrate.actions.edit"),