app/components/lookbook/header/component.rb in lookbook-1.5.5 vs app/components/lookbook/header/component.rb in lookbook-2.0.0.beta.0

- old
+ new

@@ -6,9 +6,13 @@ @debug_menu = debug_menu super(**html_attrs) end def landing_path - helpers.landing_path if defined? helpers.landing_path + helpers.lookbook_landing_path if defined? helpers.lookbook_landing_path + end + + def debug_data + JSON.pretty_generate(Lookbook.debug_data) end end end