lib/sugarcube/modal.rb in sugarcube-0.20.15 vs lib/sugarcube/modal.rb in sugarcube-0.20.16

- old
+ new

@@ -33,11 +33,11 @@ def present_modal_in_nav(view_ctlr, options={}, &block) options = options.merge(target: self) SugarCube::Modal.present_modal_in_nav(view_ctlr, options, &block) end - def dismiss_modal(view_ctlr, options={}, &block) + def dismiss_modal(options={}, &block) options = options.merge(target: self) - SugarCube::Modal.dismiss_modal(view_ctlr, options, &block) + SugarCube::Modal.dismiss_modal(options, &block) end end