Skip to content

Commit baa9722

Browse files
committed
Merge pull request gazay#2 from edtsech/master
Fixed bug with merge
2 parents 2f1bc0e + 56b287b commit baa9722

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/gon.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ def self.gon_variables(name=nil, value=nil)
1313
new_data[name] = value if name && value
1414

1515
Rails.cache.delete('gon_variables')
16-
Rails.cache.write('gon_variables', (new_data.merge data))
16+
Rails.cache.write('gon_variables', (new_data.reverse_merge data))
1717
end
1818
end

0 commit comments

Comments
 (0)