We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f63eb75 commit 850ea70Copy full SHA for 850ea70
lib/gon/helpers.rb
@@ -10,7 +10,6 @@ def include_gon
10
11
script = "<script>function Gon(){"
12
data.each do |key, val|
13
- val = "'#{val}'" if val.instance_of? String
14
script += "this." + key.to_s + val.to_json + ";"
15
end
16
script += "}; var Gon = new Gon()</script>"
0 commit comments