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:
parent
724ed83833
commit
5d5830c3b1
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue