From eff7f75a3ac4d5ca5a6f27ccc5bd4874c05fc674 Mon Sep 17 00:00:00 2001 From: Emi Matchu Date: Mon, 6 Jan 2025 00:25:36 -0800 Subject: [PATCH] Oops, fix crash in Shopping List for PB items Huh, I guess I refactored the URL handling at some point and messed up this call site? Ok whatever! --- app/views/items/sources.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/items/sources.html.haml b/app/views/items/sources.html.haml index 9e6f51e5..557aa24f 100644 --- a/app/views/items/sources.html.haml +++ b/app/views/items/sources.html.haml @@ -169,7 +169,7 @@ alt: "Item thumbnail for #{color.pb_item_name}" - elsif color = image_tag pet_type_image_url(@pb_color_pet_types[color], size: :face), - srcset: ["#{pet_type_image_url(@pb_color_pet_types[color], size: :face_2x)} 2x"], + srcset: ["#{pet_type_image_url(@pb_color_pet_types[color], size: :face_3x)} 2x"], alt: @pb_color_pet_types[color].human_name - else = image_tag "https://images.neopets.com/items/starter_red_pb.gif",