Link alt styles to the outfit editor, rather than to the big image URL
This commit is contained in:
parent
1626f0706c
commit
be5ad31a1d
1 changed files with 5 additions and 1 deletions
|
@ -3,7 +3,11 @@ module AltStylesHelper
|
||||||
if support_staff?
|
if support_staff?
|
||||||
edit_alt_style_path alt_style
|
edit_alt_style_path alt_style
|
||||||
else
|
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
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue