lib/generators/alchemy/menus/templates/wrapper.html.haml in alchemy_cms-7.1.12 vs lib/generators/alchemy/menus/templates/wrapper.html.haml in alchemy_cms-7.2.1

- old
+ new

@@ -1,5 +1,5 @@ -- cache [menu, @page, @preview_mode] do +- cache [menu, @page, Alchemy::Current.preview_page?] do %ul.nav = render partial: menu.to_partial_path, collection: menu.children.includes(:page, :children), locals: { options: options }, as: 'node'