Show success message

Phew, that was really easy.
And now the existing feature spec still Just Works.
This commit is contained in:
David Cook
2024-05-23 11:50:15 +10:00
parent 05f0b93548
commit 55ac816a87

View File

@@ -1,2 +1,3 @@
= turbo_stream.update "image-#{@product.id}" do
= render partial: "admin/products_v3/product_image", locals: { product: @product }
= render partial: "admin/shared/flashes", locals: { flashes: flash } if defined? flash