lib/voom/presenters/dsl/components/mixins/dialogs.rb in voom-presenters-0.1.13 vs lib/voom/presenters/dsl/components/mixins/dialogs.rb in voom-presenters-0.2.0
- old
+ new
@@ -1,15 +1,14 @@
-require_relative '../dialog'
+require 'voom/presenters/dsl/components/dialog'
module Voom
module Presenters
module DSL
module Components
module Mixins
module Dialogs
def dialog(**attributes, &block)
@components << Components::Dialog.new(parent: self,
- context: context,
**attributes, &block)
end
end
end
end