X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/1d7719e01c779c8268b6fa3b0db78fb66d46a296..3458d881af4584e44d72bb682771e3c7a3cf6e68:/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