]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/api/notes/_note.gpx.builder
Fix new rubocop warnings
[rails.git] / app / views / api / notes / _note.gpx.builder
index 74961b2e058649d0ad1fea32e0a95f2e721960a8..c79ed6a6e762db44eb76d521417384091cae36c4 100644 (file)
@@ -1,5 +1,5 @@
 xml.wpt("lon" => note.lon, "lat" => note.lat) do
-  xml.time note.created_at.to_formatted_s(:iso8601)
+  xml.time note.created_at.to_fs(:iso8601)
   xml.name t("browse.note.title", :id => note.id)
 
   xml.desc do