X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/36bd2468e0b7610210fde13911e133714dc8568a..4395ed6117c6f602a883455b012186368028e3c1:/app/views/notes/_note.rss.builder diff --git a/app/views/notes/_note.rss.builder b/app/views/notes/_note.rss.builder index a1ed7d378..802f3bc81 100644 --- a/app/views/notes/_note.rss.builder +++ b/app/views/notes/_note.rss.builder @@ -1,7 +1,7 @@ xml.item do location = describe_location(note.lat, note.lon, 14, locale) - if note.status == "closed" + if note.closed? xml.title t('note.rss.closed', :place => location) elsif note.comments.length > 1 xml.title t('note.rss.comment', :place => location)