diff --git a/app/controllers/spree/admin/variants_controller.rb b/app/controllers/spree/admin/variants_controller.rb index 6033db7afeda..47505f7b1dba 100644 --- a/app/controllers/spree/admin/variants_controller.rb +++ b/app/controllers/spree/admin/variants_controller.rb @@ -50,9 +50,8 @@ def update flash[:success] = flash_message_for(@object, :successfully_updated) redirect_to spree.admin_product_variants_url(params[:product_id], @url_filters) else - redirect_to spree.edit_admin_product_variant_url(params[:product_id], - @object, - @url_filters) + load_data + render :edit end end