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 147b3b5 commit 25fe321Copy full SHA for 25fe321
lib/gon/helpers.rb
@@ -14,7 +14,7 @@ def include_gon(options = {})
14
Gon.clear
15
Gon::Base.render_data(options)
16
elsif options[:init].present?
17
- Gon.clear if Gon.all_variables.present?
+ Gon::Request.env = {} if Gon.all_variables.present?
18
19
else
20
""
0 commit comments