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.
2 parents 2f1bc0e + 56b287b commit baa9722Copy full SHA for baa9722
lib/gon.rb
@@ -13,6 +13,6 @@ def self.gon_variables(name=nil, value=nil)
13
new_data[name] = value if name && value
14
15
Rails.cache.delete('gon_variables')
16
- Rails.cache.write('gon_variables', (new_data.merge data))
+ Rails.cache.write('gon_variables', (new_data.reverse_merge data))
17
end
18
0 commit comments