app/helpers/bmc/link_helper.rb in bmc-1.5.1 vs app/helpers/bmc/link_helper.rb in bmc-1.6.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 = fa_s(icon).concat(" ").concat(name)
- 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?