lib/gon/helpers.rb in gon-5.0.0 vs lib/gon/helpers.rb in gon-5.0.1

- old
+ new

@@ -22,10 +22,10 @@ end private def variables_for_request_present? - current_gon.gon.present? + current_gon && current_gon.gon end def current_gon Thread.current['gon'] end