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