lib/avo/menu/builder.rb in avo-2.9.1.pre5 vs lib/avo/menu/builder.rb in avo-2.9.1.pre6
- old
+ new
@@ -65,10 +65,10 @@
end
# Add all the tools
def all_tools(**args)
Avo::App.tools_for_navigation.each do |tool|
- link tool.humanize, path: "#{root_path}/#{tool}"
+ link tool.humanize, path: root_path(paths: [tool])
end
end
# Fetch the menu
def build