Revert "Always look to the global scope for the GPX module"
authorTom Hughes <tom@compton.nu>
Wed, 14 Aug 2019 18:06:09 +0000 (19:06 +0100)
committerTom Hughes <tom@compton.nu>
Wed, 14 Aug 2019 18:06:09 +0000 (19:06 +0100)
This reverts commit fbefe3550cec6d609ef1dc97ea4c48f73447cee4.

app/models/trace.rb

index adaba52..f1cd72a 100644 (file)
@@ -245,7 +245,7 @@ class Trace < ActiveRecord::Base
   def import
     logger.info("GPX Import importing #{name} (#{id}) from #{user.email}")
 
-    gpx = ::GPX::File.new(trace_name)
+    gpx = GPX::File.new(trace_name)
 
     f_lat = 0
     f_lon = 0