From 5d5830c3b13f01f744124403d1aad3e08d6950dc 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