app/helpers/coco/url_helper.rb in coveragebook_components-0.10.0 vs app/helpers/coco/url_helper.rb in coveragebook_components-0.10.1.beta.0

- old
+ new

@@ -20,10 +20,10 @@ html_options, options = options, name if block options ||= {} html_options ||= {} html_options.symbolize_keys! - button = Coco::App::Elements::ButtonTo.new(action: options, type: :submit, **html_options) + button = Coco::ButtonTo.new(action: options, type: :submit, **html_options) button = button.with_content(name) unless block render(button, &block) end end end