lib/gon/helpers.rb in gon-2.0.2 vs lib/gon/helpers.rb in gon-2.0.3

- old
+ new

@@ -33,10 +33,11 @@ base.send(:include, InstanceMethods) end module InstanceMethods def gon - if !Gon.request_env || Gon.request_env.object_id != request.env.object_id + if !Gon.request_env || Gon.request != request.object_id + Gon.request = request.object_id Gon.request_env = request.env end Gon end end