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