Files
openfoodnetwork/app/views/admin/shared/_global_var_ofn.js.erb
David Cook 924701e161 Load available units from system config
I'm not sure what's the best way to load data into javascript.. this works.
2024-03-27 20:20:20 +11:00

2 lines
54 B
Plaintext

var ofn_<%= name %> = <%= value.to_json.html_safe %>;