lib/gon/helpers.rb in gon-6.0.1 vs lib/gon/helpers.rb in gon-6.1.0

- old
+ new

@@ -27,10 +27,10 @@ end module ControllerHelpers def gon if wrong_gon_request? - gon_request = Request.new(env) + gon_request = Request.new(request.env) gon_request.id = gon_request_uuid RequestStore.store[:gon] = gon_request end Gon end