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