X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/1d7719e01c779c8268b6fa3b0db78fb66d46a296..cea0cccc6d73d7543d80d659b0f221f0d3196c0e:/app/views/notes/_note.gpx.builder 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