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!
This commit is contained in:
Emi Matchu 2025-01-06 00:25:36 -08:00
parent 39e6872f59
commit eff7f75a3a

View file

@ -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",