Remove seemingly useless method

Left over from Spree, it looks like a weird way to cast somehing to a
string
This commit is contained in:
Gaetan Craig-Riou
2023-11-13 15:23:34 +11:00
parent b52b0c0413
commit 4a32df7ef5

View File

@@ -133,7 +133,7 @@ module Spree
if html_options[:icon]
html_options[:class] += " #{html_options[:icon]}"
end
link_to(text_for_button_link(text, html_options), url, html_options)
link_to(text, url, html_options)
end
end