From 389fee0151d4b7f3b4a77e38143e6990a00d2362 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Wed, 14 Aug 2019 19:06:09 +0100 Subject: [PATCH] Revert "Always look to the global scope for the GPX module" This reverts commit fbefe3550cec6d609ef1dc97ea4c48f73447cee4. --- app/models/trace.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/trace.rb b/app/models/trace.rb index adaba52ae..f1cd72acd 100644 --- a/app/models/trace.rb +++ b/app/models/trace.rb @@ -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 -- 2.39.5