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
parent 724ed83833
commit 5d5830c3b1

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