1
0
Fork 0
forked from OpenNeo/impress

Fix modeling_i18n_tag crash

Tbh I'm not 100% sure this is a fix, I'm not sure what `haml_concat` was doing here, and the page is still crashing so it's hard to say. But fingers crossed!
This commit is contained in:
Matchu 2023-07-22 13:34:08 -07:00 committed by Matchu
parent f0f9033b8f
commit 2df6ca57cc

View file

@ -122,7 +122,7 @@ module OutfitsHelper
pet: t('.newest_items.modeled.pet'), pet: t('.newest_items.modeled.pet'),
neopetsUsernamesForm: t('.newest_items.modeled.neopets_usernames_form') neopetsUsernamesForm: t('.newest_items.modeled.neopets_usernames_form')
} }
haml_concat javascript_tag("var ModelingI18n = #{modeling_i18n.to_json};") javascript_tag("var ModelingI18n = #{modeling_i18n.to_json};")
end end
end end