Revert "Always look to the global scope for the GPX module"

This reverts commit fbefe3550c.
This commit is contained in:
Tom Hughes 2019-08-14 19:06:09 +01:00
parent 42345cb9b7
commit 389fee0151

View 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