app/helpers/agilibox/link_helper.rb in agilibox-1.11.0 vs app/helpers/agilibox/link_helper.rb in agilibox-2.0.0

- old
+ new

@@ -7,12 +7,12 @@ else obj.to_s end end - def icon_link_to(icon, name, options = nil, html_options = nil, &block) + def icon_link_to(icon, name, options = nil, html_options = nil, &) name = "#{icon(icon)} #{name}".html_safe - link_to(name, options, html_options, &block) + link_to(name, options, html_options, &) end def web_link(text, opts = {}) return if text.to_s.blank?