X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/1d7719e01c779c8268b6fa3b0db78fb66d46a296..36f1233304baec423e1cd877f3593514efad6d66:/app/views/notes/_note.gpx.builder?ds=inline diff --git a/app/views/notes/_note.gpx.builder b/app/views/notes/_note.gpx.builder index e6c365394..a55ed88f6 100644 --- a/app/views/notes/_note.gpx.builder +++ b/app/views/notes/_note.gpx.builder @@ -17,7 +17,7 @@ xml.wpt("lon" => note.lon, "lat" => note.lat) do xml.date_created note.created_at xml.status note.status - if note.status == "closed" + if note.closed? xml.date_closed note.closed_at end end