app/components/solidus_admin/orders/show/adjustments/index/adjustable/component.rb in solidus_admin-0.3.1 vs app/components/solidus_admin/orders/show/adjustments/index/adjustable/component.rb in solidus_admin-0.3.2
- old
+ new
@@ -8,10 +8,10 @@
@adjustable = adjustment.adjustable
@model_name = adjustable&.model_name&.human
end
def call
- render component("ui/thumbnail_with_caption").new(caption: caption, detail: detail) do
+ render component("ui/thumbnail_with_caption").new(caption:, detail:) do
thumbnail
end
end
def thumbnail