From be5ad31a1d9d240c2d4384a57a0f406ca00882fd Mon Sep 17 00:00:00 2001 From: Emi Matchu Date: Fri, 11 Oct 2024 15:40:20 -0700 Subject: [PATCH] Link alt styles to the outfit editor, rather than to the big image URL --- app/helpers/alt_styles_helper.rb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/helpers/alt_styles_helper.rb b/app/helpers/alt_styles_helper.rb index e5aa2600..b8894a4f 100644 --- a/app/helpers/alt_styles_helper.rb +++ b/app/helpers/alt_styles_helper.rb @@ -3,7 +3,11 @@ module AltStylesHelper if support_staff? edit_alt_style_path alt_style else - alt_style.preview_image_url + wardrobe_path( + species: alt_style.species_id, + color: alt_style.color_id, + style: alt_style.id, + ) end end end