From 2df6ca57ccf66b1425658dc73c4f35bf3a69ed1e Mon Sep 17 00:00:00 2001 From: Matchu Date: Sat, 22 Jul 2023 13:34:08 -0700 Subject: [PATCH] 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! --- app/helpers/outfits_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/helpers/outfits_helper.rb b/app/helpers/outfits_helper.rb index cbc030cc..9c7aac8e 100644 --- a/app/helpers/outfits_helper.rb +++ b/app/helpers/outfits_helper.rb @@ -122,7 +122,7 @@ module OutfitsHelper pet: t('.newest_items.modeled.pet'), 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