app/views/administrate/application/_navigation.html.erb in administrate-0.8.1 vs app/views/administrate/application/_navigation.html.erb in administrate-0.9.0
- old
+ new
@@ -9,10 +9,10 @@
<nav class="navigation" role="navigation">
<% Administrate::Namespace.new(namespace).resources.each do |resource| %>
<%= link_to(
display_resource_name(resource),
- [namespace, resource.path],
+ [namespace, resource_index_route_key(resource)],
class: "navigation__link navigation__link--#{nav_link_state(resource)}"
) %>
<% end %>
</nav>