lib/voom/presenters/dsl/components/mixins/expansion_panels.rb in voom-presenters-0.1.13 vs lib/voom/presenters/dsl/components/mixins/expansion_panels.rb in voom-presenters-0.2.0
- old
+ new
@@ -3,10 +3,10 @@
module DSL
module Components
module Mixins
module ExpansionPanels
def expansion_panel(text=nil, **attributes, &block)
- self << Components::ExpansionPanel.new(parent: self, text: text, context: context, **attributes, &block)
+ self << Components::ExpansionPanel.new(parent: self, text: text, **attributes, &block)
end
end
end
end
end