Skip to content

Commit 0a1c386

Browse files
committed
Typo
1 parent ac33f7f commit 0a1c386

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/gon/helpers.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def include_gon(options = {})
2222
script << namespace + '.' + key.to_s + '=' + val.to_json + ';'
2323
end
2424
end
25-
script = start + Gon.escape(script) + '</script>'
25+
script = start + Gon::Escaper.escape(script) + '</script>'
2626
script.html_safe
2727
else
2828
""

0 commit comments

Comments
 (0)