From 108fe9f2dd3f19fb46b406b88eeb24b234bed36a Mon Sep 17 00:00:00 2001 From: Matchu Date: Sun, 16 May 2010 16:16:39 -0400 Subject: [PATCH] correct metadata on species thumbnail --- app/helpers/items_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/helpers/items_helper.rb b/app/helpers/items_helper.rb index dce2a5dc..cac4db38 100644 --- a/app/helpers/items_helper.rb +++ b/app/helpers/items_helper.rb @@ -9,7 +9,7 @@ module ItemsHelper pet_type.species = species pet_type.color = color src = sprintf(StandardSpeciesImageFormat, pet_type.image_hash) - html + image_tag(src, 'data-color' => color, 'data-species' => species.name) + html + image_tag(src, 'data-color-id' => color.id, 'data-species-id' => species.id, 'data-species-name' => species.name) end) end end