lib/generators/alchemy/menus/templates/wrapper.html.haml in alchemy_cms-5.2.1 vs lib/generators/alchemy/menus/templates/wrapper.html.haml in alchemy_cms-5.2.2
- old
+ new
@@ -1,5 +1,5 @@
-- cache menu do
+- cache [menu, @page, @preview_mode] do
%ul.nav
= render partial: menu.to_partial_path,
collection: menu.children.includes(:page, :children),
locals: { options: options },
as: 'node'