Workout parsing
This commit is contained in:
@@ -6,7 +6,7 @@ module Adamantium
|
|||||||
|
|
||||||
def handle(req, res)
|
def handle(req, res)
|
||||||
tempfile = Tempfile.new(%w/path .gpx/)
|
tempfile = Tempfile.new(%w/path .gpx/)
|
||||||
tempfile.write req.params[:file]
|
tempfile.write req.params["file"]["tempfile"]
|
||||||
tempfile.rewind
|
tempfile.rewind
|
||||||
|
|
||||||
gpxfile = gpx_parser.call(file: tempfile)
|
gpxfile = gpx_parser.call(file: tempfile)
|
||||||
|
Reference in New Issue
Block a user