Skip to content

Commit

Permalink
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/app/helpers/spree/admin/navigation_helper.rb
Original file line number Diff line number Diff line change
@@ -128,7 +128,7 @@ def button(text, icon_name = nil, button_type = 'submit', options = {})
class_names = "button"
if icon_name
Spree::Deprecation.warn "Using icon_name arg is deprecated. Icons could not be visible in future versions.", caller
class_names.prepend "fa fa-#{icon_name} "
class_names = "fa fa-#{icon_name} #{class_names}"
end
button_tag(text, options.merge(type: button_type, class: class_names))
end

0 comments on commit d861ea5

Please sign in to comment.