diff --git a/admin/app/components/solidus_admin/layout/page_helpers.rb b/admin/app/components/solidus_admin/layout/page_helpers.rb index 5226902d967..7bf7bfb409f 100644 --- a/admin/app/components/solidus_admin/layout/page_helpers.rb +++ b/admin/app/components/solidus_admin/layout/page_helpers.rb @@ -1,8 +1,8 @@ # frozen_string_literal: true module SolidusAdmin::Layout::PageHelpers - def page(&block) - tag.div(capture(&block), class: "px-4 relative", "data-controller": stimulus_id) + def page(**attrs, &block) + tag.div(capture(&block), class: "px-4 relative", "data-controller": stimulus_id, **attrs) end def page_header_actions(&block)