app/views/avo/sidebar/_sidebar.html.erb in avo-1.18.2 vs app/views/avo/sidebar/_sidebar.html.erb in avo-1.19.0

- old
+ new

@@ -10,10 +10,10 @@ <%= render Avo::NavigationHeadingComponent.new label: t('avo.resources') %> <div class="w-full"> <% Avo::App.resources_navigation(_current_user).sort_by { |r| r.navigation_label }.each do |resource| %> - <%= render Avo::NavigationLinkComponent.new label: resource.navigation_label, path: resources_path(resource.model_class) %> + <%= render Avo::NavigationLinkComponent.new label: resource.navigation_label, path: resources_path(resource: resource) %> <% end %> <% sidebar_partials = Avo::App.get_sidebar_partials %> <% if sidebar_partials.present? %> <%= render Avo::NavigationHeadingComponent.new label: t('avo.tools') %>