app/components/lookbook/header/component.rb in lookbook-1.0.0.beta.3 vs app/components/lookbook/header/component.rb in lookbook-1.0.0.beta.4
- old
+ new
@@ -1,8 +1,13 @@
module Lookbook
class Header::Component < Lookbook::BaseComponent
renders_one :branding
+ def initialize(debug_menu: false, **html_attrs)
+ @debug_menu = debug_menu
+ super(**html_attrs)
+ end
+
def landing_path
helpers.landing_path if defined? helpers.landing_path
end
end
end