app/helpers/coco/app_helper.rb in coveragebook_components-0.10.1.beta.2 vs app/helpers/coco/app_helper.rb in coveragebook_components-0.11.0
- old
+ new
@@ -5,10 +5,10 @@
[args.first, nil]
else
(args.size == 1) ? [nil, args.first] : args[0..2].reverse!
end
- link = Coco::App::Elements::Link.new(href: href, **)
+ link = Coco::Link.new(href: href, **)
link = link.with_content(content) if !block && content.present?
render(link, &block)
end