]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/tracepoint.rb
Set updated_by when resolving issues
[rails.git] / app / models / tracepoint.rb
index 6352824fd7f08c3c50f781c95c80837c10302aab..000f257b4eba0f683db3c0af4c974fe80aa9015d 100644 (file)
@@ -32,7 +32,7 @@ class Tracepoint < ApplicationRecord
 
   belongs_to :trace, :foreign_key => "gpx_id"
 
 
   belongs_to :trace, :foreign_key => "gpx_id"
 
-  def to_xml_node(print_timestamp = false)
+  def to_xml_node(print_timestamp: false)
     el1 = XML::Node.new "trkpt"
     el1["lat"] = lat.to_s
     el1["lon"] = lon.to_s
     el1 = XML::Node.new "trkpt"
     el1["lat"] = lat.to_s
     el1["lon"] = lon.to_s