X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/36bd2468e0b7610210fde13911e133714dc8568a..dc5d88d93d4529169429c91a631b80cff7ca605a:/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)