]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/trace.rb
Return GPX traces as application/gpx+xml instead of text/xml
[rails.git] / app / models / trace.rb
index 5e609786d4d10ffce7b70120afcdd8fa5cef6622..1553c894bce97be04a87e8a4ffa2b3cbec3acad2 100644 (file)
@@ -112,7 +112,7 @@ class Trace < ActiveRecord::Base
     elsif zipped
       mimetype = "application/x-zip"
     else
-      mimetype = "text/xml"
+      mimetype = "application/gpx+xml"
     end
 
     return mimetype